Documentation
¶
Index ¶
- type D
- func (d D) Equal(fieldName string, value interface{}) D
- func (d D) EqualGreater(fieldName string, value interface{}) D
- func (d D) EqualGreaterTime(fieldName string, value time.Time) D
- func (d D) EqualLess(fieldName string, value interface{}) D
- func (d D) EqualLessTime(fieldName string, value time.Time) D
- func (d D) ExistOrDefault(fieldName string, exist bool, value interface{}) D
- func (d D) Exists(fieldName string, exist bool) D
- func (d D) Greater(fieldName string, value interface{}) D
- func (d D) GreaterTime(fieldName string, value time.Time) D
- func (d D) Group(pairs ...P) D
- func (d D) GroupD(pair D) D
- func (d D) InArray(fieldName string, value interface{}) D
- func (d D) InEll(fieldName string, value ...interface{}) D
- func (d D) Inc(key string, value interface{}) D
- func (d D) IncD(pairs D) D
- func (d D) IncMany(pairs ...P) D
- func (d D) Less(fieldName string, value interface{}) D
- func (d D) LessTime(fieldName string, value time.Time) D
- func (d D) LookUp() LU
- func (d D) MarshalBSON() ([]byte, error)
- func (d D) Match(pairs ...P) D
- func (d D) MatchD(pair D) D
- func (d D) NotEqual(fieldName string, value interface{}) D
- func (d D) NotInArray(fieldName string, value interface{}) D
- func (d D) NotInEll(fieldName string, value ...interface{}) D
- func (d D) Or(filters ...D) D
- func (d D) Push(key string, value interface{}) D
- func (d D) PushD(pairs D) D
- func (d D) PushMany(pairs ...P) D
- func (d D) Set(key string, value interface{}) D
- func (d D) SetD(pairs D) D
- func (d D) SetMany(pairs ...P) D
- func (d D) Sum(fieldName string) D
- func (d D) Unset(keys ...string) D
- type LU
- type P
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
func (D) EqualGreater ¶
GREATER OR EQUAL
func (D) ExistOrDefault ¶
func (D) MarshalBSON ¶
func (D) NotInArray ¶
type LU ¶
type LU struct {
// contains filtered or unexported fields
}
func (LU) ForeignField ¶
Specifies the foreign documents' foreignField to perform an equality match with the local documents' localField. If a foreign document does not contain a foreignField value, the $lookup uses a null value for the match.
func (LU) From ¶
Specifies the foreign collection in the same database to join to the local collection. The foreign collection cannot be sharded
func (LU) LocalField ¶
Specifies the local documents' localField to perform an equality match with the foreign documents' foreignField.
Click to show internal directories.
Click to hide internal directories.