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

# Functions

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

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.