-
Notifications
You must be signed in to change notification settings - Fork 102
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
GridFS index fixed. codec_options argument for Database.command. #190
Conversation
We now have conflicts... to be expected now with less inline callbacks. |
484c47a
to
6de2064
Compare
Rebased and solved conflicts. I've noticed also that adding P.S. P.P.S. |
2 similar comments
@psi29a how do you feel you about this PR now? |
LGTM, merging. |
Agreed about the kwarg magic, it's dark band-aid stuff that we should move away from. I formally apologize for adding to it. ;) |
It is funny and sad at the same time, but GridFS were creating index with a typo in field name and nobody noticed that :)
Also,
ensure_index
removed fromget_last_version
because ASC+ASC index, created in__init__
is sufficient.For the means of testing indexes creation, I've added
codec_options
argument toDatabase.command()
. It can be used to makecommand()
to return response asSON
instead of plaindict
.