Created
March 28, 2020 02:19
-
-
Save oddjobz/b4b8e1d1bdeba869833b5dfebf8d5ad5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> for doc in people.find(): | |
... print(doc) | |
... | |
{'_id': b'58ed69161839fc5e5a57bc35', 'name': 'Fred Bloggs', 'age': 21} | |
{'_id': b'58ed69211839fc5e5a57bc36', 'name': 'Joe Smith', 'age': 22} | |
{'_id': b'58ed69301839fc5e5a57bc37', 'name': 'John Doe', 'age': 19} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment