package
Version:
v0.0.0-...-b3f521c
Opens a new window with list of versions in this module.
Published: Apr 19, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ErrInvalidDBProvided is returned in the event that an uninitialized db is
used to perform actions against.
func Query(value interface{}) string
Query provides a string version of the value
RegMasterSession adds a new master session to the set. If no url is provided,
it will default to localhost:27017.
DB represents our mongo database session.
New returns a new DB value for use with MongoDB based on a registered
master session.
Close closes a DB value being used with MongoDB.
Execute is used to execute MongoDB commands.
ExecuteTimeout is used to execute MongoDB commands with a timeout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.