logoalt Hacker News

w10-1today at 1:44 AM1 replyview on HN

Isn't the solution just to use the rowid (after doing the read-id-after-insert dance)?

How much trouble does SQLite reysing rowid's actually cause?


Replies

andersmurphytoday at 6:37 AM

You don't even need to that. SQLite auto increments the ids and is a single writer (which you should be coordinating at the application level.

Regular rowids are definitely the way to go if you can use them.