Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidDBProvided = errors.New("invalid DB provided")
ErrInvalidDBProvided is returned in the event that an uninitialized db is used to perform actions against.
Functions ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB is a collection of support for different DB technologies. Currently only MongoDB has been implemented. We want to be able to access the raw database support for the given DB so an interface does not work. Each database is too different.
func NewMGO ¶
NewMGO returns a new DB value for use with MongoDB based on a registered master session.
func (*DB) MGOExecute ¶
MGOExecute is used to execute MongoDB commands.
Click to show internal directories.
Click to hide internal directories.