-
Notifications
You must be signed in to change notification settings - Fork 65
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
Collection and index updates and fixes #362
Conversation
Signed-off-by: Sander Pick <sanderpick@gmail.com>
Signed-off-by: Sander Pick <sanderpick@gmail.com>
Signed-off-by: Sander Pick <sanderpick@gmail.com>
6e093f4
to
5794941
Compare
Signed-off-by: Sander Pick <sanderpick@gmail.com>
Signed-off-by: Sander Pick <sanderpick@gmail.com>
Signed-off-by: Sander Pick <sanderpick@gmail.com>
Signed-off-by: Sander Pick <sanderpick@gmail.com>
Signed-off-by: Sander Pick <sanderpick@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I'm pleased to see how much of the old indexing functionality was still useful! Overall a much cleaner usage, and exposing these APIs via the clients will also help quite a bit with access from clients etc. No nits from here, very nice to see the docs updates 👍 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!, left some nits/comments.
Signed-off-by: Sander Pick <sanderpick@gmail.com>
Thanks for the reviews guys 🍺 |
* db: cleanup indexing, add update collection method Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: adds delete collection, more index cleanup Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: add update collection api method and more tests Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: add get indexes method to api Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: ensure unique indexes can be unique Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: use token opt in collection methods Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: use two locks Signed-off-by: Sander Pick <sanderpick@gmail.com> * db: check index path on hydration Signed-off-by: Sander Pick <sanderpick@gmail.com> * review: address feedback Signed-off-by: Sander Pick <sanderpick@gmail.com>
Closes #291
Closes #359
Closes #360
Closes #361
DB
UpdateCollection
and associated API+client methodsDeleteCollection
and associated API+client methodsGetCollectionIndexes
and associated API+client methodsdropIndex
toCollection
methodSome things to consider: