3 ms·
Why would you use UUIDs a primary keys? Let SQLite use rowids internally (which is automatic and invisible), and have a different (indexed) column with UUID if
by bambax 4mo ago
Why would you use UUIDs a primary keys? Let SQLite use rowids internally (which is automatic and invisible), and have a different (indexed) column with UUID if you need that for publishing the ID somewhere.
- elcomet 4mo agoUUID as key is useful when you have a distributed system where multiple workers create items independently
- victorbjorklund 4mo agoBecause another app can then create the id and add it to the db later.
- deleted 4mo ago[deleted]