 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Query
- func (q *Query) All(key string, values []interface{}) *Query
- func (q *Query) Eq(key string, value interface{}) *Query
- func (q *Query) Exists(key string, value bool) *Query
- func (q *Query) Gt(key string, value interface{}) *Query
- func (q *Query) Gte(key string, value interface{}) *Query
- func (q *Query) In(key string, values []interface{}) *Query
- func (q *Query) Lt(key string, value interface{}) *Query
- func (q *Query) Lte(key string, value interface{}) *Query
- func (q *Query) Magic(key string, value interface{}) *Query
- func (q *Query) Mod(key string, m, result int64) *Query
- func (q *Query) Neq(key string, value interface{}) *Query
- func (q *Query) Nin(key string, values []interface{}) *Query
- func (q *Query) Regex(key string, value string) *Query
- func (q *Query) ToString() string
- func (q *Query) Type(key string, value bool) *Query
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct {
	// contains filtered or unexported fields
}
    查询条件 https://docs.mongodb.com/manual/reference/operator/query-comparison/
 Click to show internal directories. 
   Click to hide internal directories.