SQLite database limits in Android

后端 未结 3 1642
滥情空心
滥情空心 2021-02-20 14:14

I\'m planning Android app which extensively uses local DB. DB would contain approx 15 tables , properly normalized (FK, PK etc). 4 Main tables would have up to 1000 entries an

3条回答
  •  滥情空心
    2021-02-20 15:04

    I compelety agree with @Amokrane's answer but insure that your database should also have backward compactibility. Because you are saying that your database is properly normalized (FK , PK etc). And here Foreign Key support is only available since the SQLite version 3.6.19 therefore this constraint could only be applicable on the Android 2.2 FroYo (which has SQLite 3.6.22 Version) and the above versions.

    For more information refer : http://www.sqlite.org/foreignkeys.html

提交回复
热议问题