options

package
v0.0.0-...-c1715a6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregate

type Aggregate struct {
	options.AggregateOptions
}

Aggregate represents options that can be used to configure an Aggregate operation.

type Client

type Client struct {
	options.ClientOptions
}

type Collation

type Collation struct {
	options.Collation
}

type CursorType

type CursorType int8

type Delete

type Delete struct {
	*options.DeleteOptions
}

Delete represents options that can be used to configure DeleteOne and DeleteMany operations.

type Find

type Find struct {
	options.FindOptions
	Projection aggregation.Project
}

Find represent all possible options to the Find() function.

type Insert

type Insert struct {
	BypassDocumentValidation *bool // If true, allows the write to opt-out of document level validation
	Ordered                  *bool // If true, when InsertMany() fails, return without performing the remaining inserts. Defaults to true.
}

Insert represents all possible options to the InsertMany() and InsertOne() functions.

type Update

type Update struct {
	options.UpdateOptions
}

Jump to

Keyboard shortcuts

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