Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to attach uuid or arbitrary identifier to index #127

Open
Volland opened this issue Mar 22, 2024 · 0 comments
Open

Ability to attach uuid or arbitrary identifier to index #127

Volland opened this issue Mar 22, 2024 · 0 comments

Comments

@Volland
Copy link

Volland commented Mar 22, 2024

As far as I can see, VSS uses the rowid field to correlate the index and data in a table.
For lacalfirst applications that use sync and replications of a databases cross devices rowid is not reliable identifier

Also Rowid isn’t stable in SQLite. It’ll change between vacuum calls unless the Rowid is aliased
https://www.sqlite.org/rowidtable.html
To make cross-device and replication sync possible we need some kind of identifier to correlate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant