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

Use a content hash for the note IDs #3

Closed
simonw opened this issue Oct 11, 2020 · 0 comments
Closed

Use a content hash for the note IDs #3

simonw opened this issue Oct 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Contributor

simonw commented Oct 11, 2020

Without a GUID note IDs are pretty ineffective, but using a hash of the contents will at least avoid creating identical duplicates in the future.

https://sqlite-utils.readthedocs.io/en/stable/python-api.html#setting-an-id-based-on-the-hash-of-the-row-contents

@simonw simonw added the enhancement New feature or request label Oct 11, 2020
@simonw simonw closed this as completed in c1875fe Oct 11, 2020
simonw added a commit that referenced this issue Oct 12, 2020
Refs #2, #3, #4, #6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant