query

package
v0.0.0-...-2bbbdf5 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func And

func And(documents ...bsoncore.Document) bsoncore.Document

func Nor

func Nor(documents ...bsoncore.Document) bsoncore.Document

func Not

func Not(document bsoncore.Document) bsoncore.Document

func Or

func Or(documents ...bsoncore.Document) bsoncore.Document

Types

type ElemMatchBuilder

type ElemMatchBuilder interface {
	Field(v string) ElemMatchFieldBuilder
}

func ElemMatch

func ElemMatch() ElemMatchBuilder

type ElemMatchFieldBuilder

type ElemMatchFieldBuilder interface {
	Document(v bsoncore.Document) bsoncore.Document
}

type EqBuilder

type EqBuilder interface {
	Field(v string) EqFieldBuilder
}

func Eq

func Eq() EqBuilder

type EqFieldBuilder

type EqFieldBuilder interface {
	Array(v bsoncore.Array) bsoncore.Document
	Bool(v bool) bsoncore.Document
	Document(document bsoncore.Document) bsoncore.Document
	Float64(v float64) bsoncore.Document
	Int32(v int32) bsoncore.Document
	Int64(v int64) bsoncore.Document
	Null() bsoncore.Document
	String(v string) bsoncore.Document
	Time(v time.Time) bsoncore.Document
}

type GtBuilder

type GtBuilder interface {
	Field(v string) GtFieldBuilder
}

func Gt

func Gt() GtBuilder

type GtFieldBuilder

type GtFieldBuilder interface {
	Bool(v bool) bsoncore.Document
	Float64(v float64) bsoncore.Document
	Int32(v int32) bsoncore.Document
	Int64(v int64) bsoncore.Document
	String(v string) bsoncore.Document
	Time(v time.Time) bsoncore.Document
}

type GteBuilder

type GteBuilder interface {
	Field(v string) GteFieldBuilder
}

func Gte

func Gte() GteBuilder

type GteFieldBuilder

type GteFieldBuilder interface {
	Bool(v bool) bsoncore.Document
	Float64(v float64) bsoncore.Document
	Int32(v int32) bsoncore.Document
	Int64(v int64) bsoncore.Document
	String(v string) bsoncore.Document
	Time(v time.Time) bsoncore.Document
}

type InBuilder

type InBuilder interface {
	Field(v string) InFieldBuilder
}

func In

func In() InBuilder

type InFieldBuilder

type InFieldBuilder interface {
	Array(v bsoncore.Array) bsoncore.Document
}

type LtBuilder

type LtBuilder interface {
	Field(v string) LtFieldBuilder
}

func Lt

func Lt() LtBuilder

type LtFieldBuilder

type LtFieldBuilder interface {
	Bool(v bool) bsoncore.Document
	Float64(v float64) bsoncore.Document
	Int32(v int32) bsoncore.Document
	Int64(v int64) bsoncore.Document
	String(v string) bsoncore.Document
	Time(v time.Time) bsoncore.Document
}

type LteBuilder

type LteBuilder interface {
	Field(v string) LteFieldBuilder
}

func Lte

func Lte() LteBuilder

type LteFieldBuilder

type LteFieldBuilder interface {
	Bool(v bool) bsoncore.Document
	Float64(v float64) bsoncore.Document
	Int32(v int32) bsoncore.Document
	Int64(v int64) bsoncore.Document
	String(v string) bsoncore.Document
	Time(v time.Time) bsoncore.Document
}

type NeBuilder

type NeBuilder interface {
	Field(v string) NeFieldBuilder
}

func Ne

func Ne() NeBuilder

type NeFieldBuilder

type NeFieldBuilder interface {
	Array(v bsoncore.Array) bsoncore.Document
	Bool(v bool) bsoncore.Document
	Document(document bsoncore.Document) bsoncore.Document
	Float64(v float64) bsoncore.Document
	Int32(v int32) bsoncore.Document
	Int64(v int64) bsoncore.Document
	Null() bsoncore.Document
	String(v string) bsoncore.Document
	Time(v time.Time) bsoncore.Document
}

type NinBuilder

type NinBuilder interface {
	Field(v string) NinFieldBuilder
}

func Nin

func Nin() NinBuilder

type NinFieldBuilder

type NinFieldBuilder interface {
	Array(v bsoncore.Array) bsoncore.Document
}

Jump to

Keyboard shortcuts

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