Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateOptions ¶ added in v0.9.2
type AggregateOptions struct {
*options.AggregateOptions
}
type ClientOptions ¶ added in v0.9.1
type ClientOptions struct {
*options.ClientOptions
}
type FindOptions ¶
type FindOptions struct {
QueryHook interface{}
}
type IndexModel ¶ added in v0.7.4
type IndexModel struct { Key []string // Index key fields; prefix name with dash (-) for descending order Unique bool // Prevent two documents from having the same index key Background bool // Build index in background and return immediately Sparse bool // Only index documents containing the Key fields ExpireAfterSeconds *int32 // Periodically delete docs with indexed time.Time older than that. }
type InsertManyOptions ¶
type InsertManyOptions struct { InsertHook interface{} *options.InsertManyOptions }
type InsertOneOptions ¶
type InsertOneOptions struct { InsertHook interface{} *options.InsertOneOptions }
type RemoveOptions ¶
type RemoveOptions struct { RemoveHook interface{} *options.DeleteOptions }
type ReplaceOptions ¶ added in v0.8.0
type ReplaceOptions struct { UpdateHook interface{} *options.ReplaceOptions }
type RunCommandOptions ¶ added in v0.8.2
type RunCommandOptions struct {
*options.RunCmdOptions
}
type UpdateOptions ¶
type UpdateOptions struct { UpdateHook interface{} *options.UpdateOptions }
type UpsertOptions ¶ added in v0.7.2
type UpsertOptions struct { UpsertHook interface{} *options.ReplaceOptions }
Click to show internal directories.
Click to hide internal directories.