package
0.3.0
Repository: https://github.com/mongodb/mongo-go-driver.git
Documentation: pkg.go.dev

# Functions

AcknowledgedValue returns true if a BSON RawValue for a write concern represents an acknowledged write concern.
AckWrite returns true if a write concern represents an acknowledged write.
J requests acknowledgement from MongoDB that write operations are written to the journal.
New constructs a new WriteConcern.
W requests acknowledgement that write operations propagate to the specified number of mongod instances.
WMajority requests acknowledgement that write operations propagate to the majority of mongod instances.
WTagSet requests acknowledgement that write operations propagate to the specified mongod instance.
WTimeout specifies specifies a time limit for the write concern.

# Variables

ErrEmptyWriteConcern indicates that a write concern has no fields set.
ErrInconsistent indicates that an inconsistent write concern was specified.
ErrNegativeW indicates that a negative integer `w` field was specified.
ErrNegativeWTimeout indicates that a negative WTimeout was specified.

# Structs

WriteConcern describes the level of acknowledgement requested from MongoDB for write operations to a standalone mongod or to replica sets or to sharded clusters.

# Type aliases

Option is an option to provide when creating a ReadConcern.