Documentation ¶
Index ¶
- type AggregateOptions
- type ChangeStreamOptions
- type ClientOptions
- type CreateCollectionOptions
- type FindOptions
- type IndexModel
- type InsertManyOptions
- type InsertOneOptions
- type RemoveOptions
- type ReplaceOptions
- type RunCommandOptions
- type SessionOptions
- type TransactionOptions
- type UpdateOptions
- type UpsertOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateOptions ¶
type AggregateOptions struct {
*options.AggregateOptions
}
type ChangeStreamOptions ¶
type ChangeStreamOptions struct {
*options.ChangeStreamOptions
}
type ClientOptions ¶
type ClientOptions struct {
*options.ClientOptions
}
type CreateCollectionOptions ¶
type CreateCollectionOptions struct {
*options.CreateCollectionOptions
}
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 SessionOptions ¶
type SessionOptions struct {
*options.SessionOptions
}
type TransactionOptions ¶
type TransactionOptions struct {
*options.TransactionOptions
}
type UpdateOptions ¶
type UpdateOptions struct { UpdateHook interface{} *options.UpdateOptions }
type UpsertOptions ¶
type UpsertOptions struct { UpsertHook interface{} *options.ReplaceOptions }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.