Browse Source

Removed unneeded print statements form mongokit pattern doc

pull/479/head
Dmitry Shevchenko 13 years ago
parent
commit
9c48387072
  1. 3
      docs/patterns/mongokit.rst

3
docs/patterns/mongokit.rst

@ -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'} >>> user = {'name': u'admin', 'email': u'admin@localhost'}
>>> collection.insert(user) >>> collection.insert(user)
print list(collection.find())
print collection.find_one({'name': u'admin'})
MongoKit will automatically commit for us. MongoKit will automatically commit for us.
To query your database, you use the collection directly: To query your database, you use the collection directly:

Loading…
Cancel
Save