-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-3299 Add Automatic Queryable Encryption Example to Docs #964
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
Conversation
doc/examples/encryption.rst
Outdated
client = MongoClient(auto_encryption_opts=auto_encryption_opts) | ||
client.default.drop_collection('encryptedCollection') | ||
coll = client.default.create_collection('encryptedCollection') | ||
coll.insert_one({ "_id": 1, "firstName": "Snuffy"}) |
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.
Snuffy? How about John or Jane?
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.
Done
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.
It’s a start!
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!
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!
doc/examples/encryption.rst
Outdated
print(docs) | ||
|
||
In the above example, the ``firstName`` field is automatically encrypted and | ||
decrypted. |
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.
lastName is too though.
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.
Fixed
No description provided.