options

package
v1.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL