Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateOptions ¶
type AggregateOptions struct {
*options.AggregateOptions
}
type ClientOptions ¶
type ClientOptions struct {
*options.ClientOptions
}
type FindOptions ¶
type FindOptions struct {
QueryHook interface{}
}
type IndexModel ¶
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 ¶
type ReplaceOptions struct { UpdateHook interface{} *options.ReplaceOptions }
type RunCommandOptions ¶
type RunCommandOptions struct {
*options.RunCmdOptions
}
type UpdateOptions ¶
type UpdateOptions struct { UpdateHook interface{} *options.UpdateOptions }
type UpsertOptions ¶
type UpsertOptions struct { UpsertHook interface{} *options.ReplaceOptions }
Click to show internal directories.
Click to hide internal directories.