Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MongoDatabaseName = utils.GetCloudProjectID()
MongoDatabaseName is the name of the database in MongoDB
Functions ¶
Types ¶
type Database ¶
Database interface abstracts database operations
func (*Database) DbPropsCollection ¶ added in v0.11.0
func (db *Database) DbPropsCollection() *mongo.Collection
DbPropsCollection is the collection for database properties
func (*Database) UpdateIndexes ¶ added in v0.11.0
UpdateIndexes if necessary
func (*Database) UpdateIndexesTo ¶ added in v0.11.0
UpdateIndexesTo to a particular version
Click to show internal directories.
Click to hide internal directories.