Skip to main content

MongoDB select queries

Superduper supports the pymongo query API to build select queries. There is one slight difference however, since queries built with pymongo's formalism are executed lazily:

Whereas in pymongo one might write:

client.my_db.my_collection.find_one()

with superduper one would write:

result = db['my_collection'].find_one().execute()