Merge pull request #479 from dmishe/patch-1
Removed unneeded print statements form mongokit pattern doc
This commit is contained in:
commit
9be47f5932
1 changed files with 0 additions and 3 deletions
|
|
@ -122,9 +122,6 @@ collection first, this is somewhat the same as a table in the SQL world.
|
|||
>>> user = {'name': u'admin', 'email': u'admin@localhost'}
|
||||
>>> collection.insert(user)
|
||||
|
||||
print list(collection.find())
|
||||
print collection.find_one({'name': u'admin'})
|
||||
|
||||
MongoKit will automatically commit for us.
|
||||
|
||||
To query your database, you use the collection directly:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue