package
1.2.1
Repository: https://github.com/cybergarage/go-mongo.git
Documentation: pkg.go.dev

# Functions

NewBadResponse returns a bad status response.
NewBuildInfoResponseWithConfig returns a response instance with the specified configuration.
NewCommandWithDocument returns a new command instance with the specified BSON document.
NewCommandWithMsg returns a new command instance with the specified BSON document.
NewCommandWithQuery returns a new command instance with the specified BSON document.
NewDefaultBuildInfoResponse returns a default response instance.
NewDefaultIsMasterResponse returns a default response instance.
NewDefaultLastErrorResponse returns a default response instance.
NewIsMasterResponseWithConfig returns a response instance with the specified configuration.
NewMessageReplyWithParameters returns a message response instance.
NewOkResponse returns a good status response.
NewQuery returns a new query.
NewQueryWithMessage returns a new query with the specified OP_MSG.
NewQueryWithQuery returns a new query with the specified OP_QUERY.
NewResponse returns a new response instance.
NewResponseWithElements returns a new response instance.
NewResponseWithStatus returns a simple response which has only a status element.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
CurrentDate sets the value of a field to current date, either as a Date or a Timestamp.
No description provided by the author
DefaultCompatibleVersion = "4.0.12".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Inc increments the value of the field by the specified amount.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Max only updates the field if the specified value is greater than the existing field value.
Min only updates the field if the specified value is less than the existing field value.
Mul multiplies the value of the field by the specified amount.
Rename renames a field.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Set ets the value of a field in a document.
SetOnInsert sets the value of a field if an update results in an insert of a document.
No description provided by the author
Unset removes the specified field from a document.
No description provided by the author

# Structs

Command represents a query command of MongoDB database command.
Query represents a message query.
Response represents response elements.

# Interfaces

BuildConfig represents a limit configurations for 'buildInfo' command.
Config represents all configurations for MongoDB.
ServerConfig represents a limit configurations for 'isMaseter' command.