package
0.0.0-20180601060148-d032931de3c3
Repository: https://github.com/cloudwise-opensource/gocrab.git
Documentation: pkg.go.dev

# README

The MongoDB driver for Go

Please go to http://labix.org/mgo for all project details.

# Packages

The txn package implements support for multi-document transactions.

# Functions

Dial establishes a new session to the cluster identified by the given seed server(s).
DialWithInfo establishes a new session to the cluster identified by info.
DialWithTimeout works like Dial, but uses timeout as the amount of time to wait for a server to respond when first connecting and also on follow up operations in the session.
No description provided by the author
IsDup returns whether err informs of a duplicate key error because a primary key index or a secondary unique index already has an entry with the given value.
No description provided by the author
Enable the delivery of debug messages to the logger.
Specify the *log.Logger object where log messages should be sent to.
No description provided by the author

# Constants

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
Relevant documentation: http://docs.mongodb.org/manual/reference/user-privileges/ .
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

The BuildInfo type encapsulates details about the running MongoDB server.
Bulk represents an operation that can be prepared with several orthogonal changes before being delivered to the server.
BulkResult holds the results for a bulk operation.
Change holds fields for running a findAndModify MongoDB command via the Query.Apply method.
ChangeInfo holds details about the outcome of an update operation.
No description provided by the author
The CollectionInfo type holds metadata about a collection.
Credential holds details to authenticate with a MongoDB server.
No description provided by the author
The DBRef type implements support for the database reference MongoDB convention as supported by multiple drivers.
DialInfo holds options for establishing a session with a MongoDB cluster.
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
See SetSafe for details on the Safe type.
ServerAddr represents the address for establishing a connection to an individual MongoDB server.
No description provided by the author
No description provided by the author
User represents a MongoDB user.

# Type aliases

No description provided by the author