options

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT 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 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
}

Jump to

Keyboard shortcuts

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