Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMongoDbConnection ¶
NewMongoDbConn, get a new db connection
Types ¶
type ChangeInfo ¶
type ChangeInfo struct { Updated int // Number of documents updated Removed int // Number of documents removed Matched int // Number of documents matched but not necessarily changed }
ChangeInfo holds details about the outcome of an update operation.
Click to show internal directories.
Click to hide internal directories.