-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
Method to get the latest CID hash of a docstore database object #430
Comments
This makes sense to me! PRs would be great for this. |
I did something a while ago that may give you this functionality or at least a start for a PR, see https://github.com/orbitdb/orbit-db-docstore/blob/feat/document-revisions/src/DocumentStore.js#L52. Hope this helps. |
@haadcode That works perfectly for my purpose! The query method works perfectly however whenever I pass an options value to the get method I always get back an empty array.
If we can sort that out this ticket is as good as closed! |
Ah I see now it's in the |
This is possible now. See #281 (comment). |
Would love to be able to pass an option to both the query and get methods of docstore to return the latest CID hash of the return object(s).
The text was updated successfully, but these errors were encountered: