Documentation ¶
Index ¶
- type Expr
- type ExprNode
- type Expression
- func (e *Expression) AddClause(clauses ...string) error
- func (e *Expression) AddExpr(expr *Expr)
- func (e *Expression) AndClause(clauses ...string) error
- func (e *Expression) AndExpr(field string, op Operator, value interface{})
- func (e *Expression) IsEmpty() bool
- func (e *Expression) OrClause(clauses ...string) error
- func (e *Expression) OrExpr(field string, op Operator, value interface{})
- func (e *Expression) String() string
- func (e *Expression) Value() []interface{}
- type Operator
- type Relation
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
type Expression struct {
// contains filtered or unexported fields
}
func (*Expression) AddClause ¶
func (e *Expression) AddClause(clauses ...string) error
func (*Expression) AddExpr ¶
func (e *Expression) AddExpr(expr *Expr)
func (*Expression) AndClause ¶
func (e *Expression) AndClause(clauses ...string) error
func (*Expression) AndExpr ¶
func (e *Expression) AndExpr(field string, op Operator, value interface{})
func (*Expression) IsEmpty ¶
func (e *Expression) IsEmpty() bool
func (*Expression) OrClause ¶
func (e *Expression) OrClause(clauses ...string) error
func (*Expression) OrExpr ¶
func (e *Expression) OrExpr(field string, op Operator, value interface{})
func (*Expression) String ¶
func (e *Expression) String() string
func (*Expression) Value ¶
func (e *Expression) Value() []interface{}
Click to show internal directories.
Click to hide internal directories.