praeclarum / praeclarum/sqlite-net
Xamarin.IOS AutoIncrement not working
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.5k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Auto incrementing the PK on iOS does not work with SQLiteConnection.Insert()
int PK with value 0 are always saved without incrementing.
Works on Android Devices
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on an iOS device with SQLiteConnection.Insert() and an integer primary key set to 0, then compare the behavior with Android. Trace the insert and auto-increment handling to determine where the platform behavior diverges. Done means the primary key increments on iOS as it does on Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios, sqlite
- Domain
- databases, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100