Skip to content
Myr

Removed unneeded print statements form mongokit pattern doc

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dmitry Shevchenko · committed by Dmitry Shevchenko · parent f071990 · Browse files · 1 file+0 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−3 removed

  • other:+0 added−3 removed

1 file+0 added−3 removed

modified:docs/patterns/mongokit.rst-3 removed
120 unmodified lines
121>>> collection = connection['test'].users122>>> user = {'name': u'admin', 'email': u'admin@localhost'}123>>> collection.insert(user)124125print list(collection.find())126print collection.find_one({'name': u'admin'})127125MongoKit will automatically commit for us.126127To query your database, you use the collection directly:128
13 unmodified lines