Package json_to_relation :: Module mongodb :: Class newMongoDB
[hide private]
[frames] | no frames]

Class newMongoDB

source code

Class that enables the construct "with newMongoDB('myDB') as db:" See http://effbot.org/zone/python-with-statement.htm for explanation

Instance Methods [hide private]
 
__init__(self, mongoObj, newDbName) source code
 
__enter__(self) source code
 
__exit__(self, errType, errValue, errTraceback) source code