mongo-drivergo.mongodb.org/mongo-driver/mongo/dropcollopt Index | Files

package dropcollopt

import "go.mongodb.org/mongo-driver/mongo/dropcollopt"

Index

Types

type DropColl

type DropColl interface {
	// contains filtered or unexported methods
}

DropColl represents all possible params for the dropColl() function.

type DropCollBundle

type DropCollBundle struct {
	// contains filtered or unexported fields
}

DropCollBundle is a bundle of DropColl options

func BundleDropColl

func BundleDropColl(opts ...DropColl) *DropCollBundle

BundleDropColl bundles DropColl options

func (*DropCollBundle) ConvertDropCollOption

func (lcb *DropCollBundle) ConvertDropCollOption() option.DropCollectionsOptioner

ConvertDropCollOption implements the DropColl interface

func (*DropCollBundle) String

func (lcb *DropCollBundle) String() string

String implements the Stringer interface

func (*DropCollBundle) Unbundle

func (lcb *DropCollBundle) Unbundle(deduplicate bool) ([]option.DropCollectionsOptioner, *session.Client, error)

Unbundle transforms a bundle into a slice of options, optionally deduplicating.

type DropCollOption

type DropCollOption interface {
	DropColl
	ConvertDropCollOption() option.DropCollectionsOptioner
}

DropCollOption represents the options for the dropColl() function.

type DropCollSession

type DropCollSession interface {
	DropColl
	ConvertDropCollSession() *session.Client
}

DropCollSession is the session for the DropColl() function.

type DropCollSessionOpt

type DropCollSessionOpt struct{}

DropCollSessionOpt is a dropColl session option.

func (DropCollSessionOpt) ConvertDropCollSession

func (DropCollSessionOpt) ConvertDropCollSession() *session.Client

ConvertDropCollSession implements the DropCollSession interface.

Source Files

dropcollopt.go

Version
v0.0.13
Published
Sep 6, 2018
Platform
linux/amd64
Imports
3 packages
Last checked
10 seconds ago

Tools for package owners.