Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delete ¶
type Delete interface { ConvertDeleteOption() option.DeleteOptioner // contains filtered or unexported methods }
Delete is options for the delete() function.
type DeleteBundle ¶
type DeleteBundle struct {
// contains filtered or unexported fields
}
DeleteBundle is a bundle of Delete options
func BundleDelete ¶
func BundleDelete(opts ...Delete) *DeleteBundle
BundleDelete bundles Delete options.
func (*DeleteBundle) Collation ¶
func (db *DeleteBundle) Collation(c *mongoopt.Collation) *DeleteBundle
Collation adds an option to specify a collation.
func (*DeleteBundle) ConvertDeleteOption ¶
func (db *DeleteBundle) ConvertDeleteOption() option.DeleteOptioner
ConvertDeleteOption implements the Delete interface.
func (*DeleteBundle) String ¶
func (db *DeleteBundle) String() string
String implements the Stringer interface
func (*DeleteBundle) Unbundle ¶
func (db *DeleteBundle) Unbundle(deduplicate bool) ([]option.DeleteOptioner, error)
Unbundle transforms a bundle into a slice of options, optionally deduplicating
type OptCollation ¶
type OptCollation option.OptCollation
OptCollation specifies a collation.
func Collation ¶
func Collation(c *mongoopt.Collation) OptCollation
Collation specifies a collation.
func (OptCollation) ConvertDeleteOption ¶
func (opt OptCollation) ConvertDeleteOption() option.DeleteOptioner
ConvertDeleteOption implements the Delete interface.
Click to show internal directories.
Click to hide internal directories.