-
Notifications
You must be signed in to change notification settings - Fork 26
INTPYTHON-527 Add Queryable Encryption support #329
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
base: main
Are you sure you want to change the base?
Changes from 3 commits
4496054
bddae41
bf1e6d7
a566237
d6ab11e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -250,7 +250,10 @@ def cursor(self): | |
|
||
def get_database_version(self): | ||
"""Return a tuple of the database's version.""" | ||
return tuple(self.connection.server_info()["versionArray"]) | ||
# Avoid using PyMongo to check the database version or require | ||
# pymongocrypt>=1.14.2 which will contain a fix for the `buildInfo` | ||
# command. https://jira.mongodb.org/browse/PYTHON-5429 | ||
return tuple(self.connection.admin.command("buildInfo")["versionArray"]) | ||
aclark4life marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This still uses PyMongo. I guess you meant the |
||
|
||
## Transaction API for django_mongodb_backend.transaction.atomic() | ||
@async_unsafe | ||
|
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.
is gone