- getCollection
Gets a collection with a given name.
- getCollectionNames
Returns a set containing the names of all collections in this database.
- command
Executes a database command. This method constructs a simple DBObject and calls
DB#command(DBObject,
- authenticate
- createCollection
Creates a collection with a given name and options. If the collection already
exists, this throws a
- getName
Returns the name of this database.
- getMongo
Gets the Mongo instance
- collectionExists
Checks to see if a collection with a given name exists on a server.
- dropDatabase
Drops this database. Removes all data on disk. Use with caution.
- isAuthenticated
- getLastError
- doEval
Evaluates JavaScript functions on the database server. This is useful if you
need to touch a lot of