Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDbContext ¶
CreateDbContext creates a new database object to create, update, fetch, delete, query entities within a database. the database parameter should be the name of the mongodb database name to connect to when calling `Client().Database()`. Collectin parameter should be the collection in the mongodb database that is used to store information. Used when calling Client().Database(dbname).Collection(collectionName)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.