Documentation ¶
Index ¶
- Variables
- func SetDmlExpressions(es map[string]Expr)
- type AggBuilder
- type Avg
- type Bool
- type Builder
- type Count
- type Expr
- type Expression
- type FindOptions
- type GT
- type GTE
- type LT
- type LTE
- type MUST
- type MUSTNOT
- type Match
- type Max
- type Min
- type PageData
- type QueryBuilder
- type RANGE
- type SHOULD
- type Sum
- type Term
- type Terms
- type Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAssertBuilder assert builder fail ErrAssertBuilder = errors.New("assert builder fail") )
Functions ¶
func SetDmlExpressions ¶
Types ¶
type AggBuilder ¶
AggBuilder AggBuilder
type Expr ¶
type Expr func() Expression
type Expression ¶
type Expression interface { GetTag() string Set(column string, values ...interface{}) Build(builder Builder) }
func GetDmlExpression ¶
func GetDmlExpression(op string, column string, values ...interface{}) (Expression, error)
GetDmlExpression get dml expression with op
type FindOptions ¶
FindOptions page options
type QueryBuilder ¶
type QueryBuilder interface { Writer WriteQuoted(field string) AddVar(value interface{}) GetVar() interface{} }
QueryBuilder db condition builder
Click to show internal directories.
Click to hide internal directories.