Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpressionToBSON ¶ added in v0.2.0
func ExpressionToBSON(c data.Expression) bson.M
ExpressionToBSON converts a data.Expression value into pure bson.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
Datastore is an abstract representation of a MongoDB database. It implements the data.Datastore interface, so that it should be usable anywhere that requires a data.Datastore.
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session represents a single database session, such as a session encompassing all of the database queries to respond to a single REST service call.
func (Session) Close ¶
func (s Session) Close()
Close cleans up any remaining connections that need to be removed.
Click to show internal directories.
Click to hide internal directories.