Versions in this module Expand all Collapse all v0 v0.0.2 Mar 6, 2018 Changes in this version + type AggregateOptioner interface + type ChangeStreamOptioner interface + type Collation struct + Alternate string + Backwards bool + CaseFirst string + CaseLevel bool + Locale string + MaxVariable string + NumericOrdering bool + Strength int + func (co *Collation) MarshalBSONDocument() (*bson.Document, error) + type CountOptioner interface + type CursorType int8 + const NonTailable + const Tailable + const TailableAwait + type DeleteOptioner interface + type DistinctOptioner interface + type FindOneAndDeleteOptioner interface + type FindOneAndReplaceOptioner interface + type FindOneAndUpdateOptioner interface + type FindOneOptioner interface + type FindOptioner interface + type InsertManyOptioner interface + type InsertOneOptioner interface + type InsertOptioner interface + type OptAllowDiskUse bool + func (opt OptAllowDiskUse) Option(d *bson.Document) + type OptAllowPartialResults bool + func (opt OptAllowPartialResults) Option(d *bson.Document) + type OptArrayFilters []*bson.Document + func (opt OptArrayFilters) Option(d *bson.Document) + type OptBatchSize int32 + func (opt OptBatchSize) Option(d *bson.Document) + type OptBypassDocumentValidation bool + func (opt OptBypassDocumentValidation) Option(d *bson.Document) + type OptCollation struct + Collation *Collation + func (opt OptCollation) Option(d *bson.Document) + type OptComment string + func (opt OptComment) Option(d *bson.Document) + type OptCursorType CursorType + func (opt OptCursorType) Option(d *bson.Document) + type OptFullDocument string + func (opt OptFullDocument) Option(d *bson.Document) + type OptHint struct + Hint interface{} + func (opt OptHint) Option(d *bson.Document) + type OptLimit int64 + func (opt OptLimit) Option(d *bson.Document) + type OptMax struct + Max *bson.Document + func (opt OptMax) Option(d *bson.Document) + type OptMaxAwaitTime time.Duration + func (opt OptMaxAwaitTime) Option(d *bson.Document) + type OptMaxScan int64 + func (opt OptMaxScan) Option(d *bson.Document) + type OptMaxTime time.Duration + func (opt OptMaxTime) Option(d *bson.Document) + type OptMin struct + Min *bson.Document + func (opt OptMin) Option(d *bson.Document) + type OptNoCursorTimeout bool + func (opt OptNoCursorTimeout) Option(d *bson.Document) + type OptOplogReplay bool + func (opt OptOplogReplay) Option(d *bson.Document) + type OptOrdered bool + func (opt OptOrdered) Option(d *bson.Document) + type OptProjection struct + Projection *bson.Document + func (opt OptProjection) IsFind() OptProjection + func (opt OptProjection) Option(d *bson.Document) + type OptReadConcern struct + ReadConcern *bson.Element + func (opt OptReadConcern) Option(d *bson.Document) + type OptResumeAfter struct + ResumeAfter *bson.Document + func (opt OptResumeAfter) Option(d *bson.Document) + type OptReturnDocument ReturnDocument + func (opt OptReturnDocument) Option(d *bson.Document) + type OptReturnKey bool + func (opt OptReturnKey) Option(d *bson.Document) + type OptShowRecordID bool + func (opt OptShowRecordID) Option(d *bson.Document) + type OptSkip int64 + func (opt OptSkip) Option(d *bson.Document) + type OptSnapshot bool + func (opt OptSnapshot) Option(d *bson.Document) + type OptSort struct + Sort *bson.Document + func (opt OptSort) Option(d *bson.Document) + type OptUpsert bool + func (opt OptUpsert) Option(d *bson.Document) + type OptWriteConcern struct + Acknowledged bool + WriteConcern *bson.Element + func (opt OptWriteConcern) Option(d *bson.Document) + type Optioner interface + Option func(*bson.Document) + type ReplaceOptioner interface + type ReturnDocument int8 + const After + const Before + type UpdateOptioner interface