Versions in this module Expand all Collapse all v1 v1.0.4 Jul 9, 2019 v1.0.3 Jun 6, 2019 v1.0.2 May 16, 2019 v1.0.1 Apr 18, 2019 v1.0.0 Mar 13, 2019 Changes in this version type FindAndModify + WriteConcernError *WriteConcernError type WriteConcernError + func (wce WriteConcernError) Error() string v1.0.0-rc2 Mar 7, 2019 v1.0.0-rc1 Feb 22, 2019 v0 v0.3.0 Feb 1, 2019 v0.2.0 Jan 8, 2019 v0.1.0 Dec 6, 2018 Changes in this version + type BuildInfo struct + GitVersion string + OK bool + Version string + VersionArray []uint8 + func (bi BuildInfo) IsZero() bool + type BulkWrite struct + DeletedCount int64 + InsertedCount int64 + MatchedCount int64 + ModifiedCount int64 + UpsertedCount int64 + UpsertedIDs map[int64]interface{} + type CreateIndexes struct + CreatedCollectionAutomatically bool + IndexesAfter int + IndexesBefore int + type Delete struct + N int + WriteConcernError *WriteConcernError + WriteErrors []WriteError + type Distinct struct + Values []interface{} + type EndSessions struct + type FindAndModify struct + LastErrorObject struct{ ... } + Value bson.Raw + type GetLastError struct + ConnectionID uint32 + type Insert struct + N int + WriteConcernError *WriteConcernError + WriteErrors []WriteError + type IsMaster struct + ArbiterOnly bool + Arbiters []string + ClusterTime bsonx.Doc + Compression []string + ElectionID primitive.ObjectID + Hidden bool + Hosts []string + IsMaster bool + IsReplicaSet bool + LastWriteTimestamp time.Time + LogicalSessionTimeoutMinutes uint32 + MaxBSONObjectSize uint32 + MaxMessageSizeBytes uint32 + MaxWireVersion int32 + MaxWriteBatchSize uint32 + Me string + MinWireVersion int32 + Msg string + OK int32 + Passives []string + ReadOnly bool + SaslSupportedMechs []string + Secondary bool + SetName string + SetVersion uint32 + Tags map[string]string + type KillCursors struct + CursorsAlive []int64 + CursorsKilled []int64 + CursorsNotFound []int64 + type ListDatabases struct + Databases []struct{ ... } + TotalSize int64 + type StartSession struct + ID bsonx.Doc + type TransactionResult struct + WriteConcernError *WriteConcernError + type Update struct + MatchedCount int64 + ModifiedCount int64 + Upserted []Upsert + WriteConcernError *WriteConcernError + WriteErrors []WriteError + type Upsert struct + ID interface{} + Index int64 + type WriteConcernError struct + Code int + ErrInfo bson.Raw + ErrMsg string + type WriteError struct + Code int + ErrMsg string + Index int