Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
Get information about the MongoDB server we're connected to.
        

src/n/o/NoSQLMap-HEAD/nosqlmap.py   NoSQLMap(Download)
	if mgtOpen == True:
		print "Server Info:"
		mongoVer = conn.server_info()['version']
		print "MongoDB Version: " + mongoVer
		mongoDebug = conn.server_info()['debug']
		print "Debugs enabled : " + str(mongoDebug)
		mongoPlatform = conn.server_info()['bits']

src/p/a/paasmaker-HEAD/paasmaker/util/mongodaemon.py   paasmaker(Download)
 
		client = MongoClient(host, port)
		info = client.server_info()
		self.assertEquals(info['ok'], 1.0, "mongoDB server_info() does not report that it's OK!")
 

src/k/o/kombu-3.0.15/kombu/transport/mongodb.py   kombu(Download)
        database = mongoconn[dbname]
 
        version = mongoconn.server_info()['version']
        if tuple(map(int, version.split('.')[:2])) < (1, 3):
            raise NotImplementedError(

src/k/o/kombu-HEAD/kombu/transport/mongodb.py   kombu(Download)
        database = mongoconn[dbname]
 
        version = mongoconn.server_info()['version']
        if tuple(map(int, version.split('.')[:2])) < (1, 3):
            raise NotImplementedError(