Documentation ¶
Index ¶
- type Query
- func And(causes ...*Query) (q *Query)
- func Eq(field string, val interface{}) *Query
- func EqIf(test bool, field string, val interface{}) *Query
- func Expr(field string, val ...interface{}) *Query
- func ExprIf(test bool, field string, val ...interface{}) *Query
- func Gt(field string, val interface{}) *Query
- func GtIf(test bool, field string, val interface{}) *Query
- func Gte(field string, val interface{}) *Query
- func GteIf(test bool, field string, val interface{}) *Query
- func In(field string, val ...interface{}) *Query
- func InIf(test bool, field string, val ...interface{}) *Query
- func InSql(field string, sql string, val ...interface{}) *Query
- func InSqlIf(test bool, field string, sql string, val ...interface{}) *Query
- func Like(field string, val interface{}) *Query
- func LikeIf(test bool, field string, val interface{}) *Query
- func Lt(field string, val interface{}) *Query
- func LtIf(test bool, field string, val interface{}) *Query
- func Lte(field string, val interface{}) *Query
- func LteIf(test bool, field string, val interface{}) *Query
- func Or(causes ...*Query) (q *Query)
- func Q() *Query
- func (q *Query) And(causes ...*Query) *Query
- func (q *Query) Asc(fields ...string) *Query
- func (q *Query) Build() []interface{}
- func (q *Query) Desc(fields ...string) *Query
- func (q *Query) Eq(field string, val interface{}) *Query
- func (q *Query) EqIf(test bool, field string, val interface{}) *Query
- func (q *Query) Expr(field string, val ...interface{}) *Query
- func (q *Query) ExprIf(test bool, field string, val ...interface{}) *Query
- func (q *Query) ForUpdate() *Update
- func (q *Query) GroupBy(fields ...string) *Query
- func (q *Query) Gt(field string, val interface{}) *Query
- func (q *Query) GtIf(test bool, field string, val interface{}) *Query
- func (q *Query) Gte(field string, val interface{}) *Query
- func (q *Query) GteIf(test bool, field string, val interface{}) *Query
- func (q *Query) In(field string, val ...interface{}) *Query
- func (q *Query) InIf(test bool, field string, val ...interface{}) *Query
- func (q *Query) InSql(field string, sql string, val ...interface{}) *Query
- func (q *Query) InSqlIf(test bool, field string, sql string, val ...interface{}) *Query
- func (q *Query) Like(field string, val interface{}) *Query
- func (q *Query) LikeIf(test bool, field string, val interface{}) *Query
- func (q *Query) Lt(field string, val interface{}) *Query
- func (q *Query) LtIf(test bool, field string, val interface{}) *Query
- func (q *Query) Lte(field string, val interface{}) *Query
- func (q *Query) LteIf(test bool, field string, val interface{}) *Query
- func (q *Query) Or(cause *Query) *Query
- type Update
- func (u *Update) And(causes ...*Query) *Update
- func (u *Update) Data() map[string]interface{}
- func (u *Update) Eq(field string, val interface{}) *Update
- func (u *Update) EqIf(test bool, field string, val interface{}) *Update
- func (u *Update) Expr(field string, val ...interface{}) *Update
- func (u *Update) ExprIf(test bool, field string, val ...interface{}) *Update
- func (u *Update) Gt(field string, val interface{}) *Update
- func (u *Update) GtIf(test bool, field string, val interface{}) *Update
- func (u *Update) Gte(field string, val interface{}) *Update
- func (u *Update) GteIf(test bool, field string, val interface{}) *Update
- func (u *Update) In(field string, val ...interface{}) *Update
- func (u *Update) InIf(test bool, field string, val ...interface{}) *Update
- func (u *Update) InSql(field string, sql string, val ...interface{}) *Update
- func (u *Update) InSqlIf(test bool, field string, sql string, val ...interface{}) *Update
- func (u *Update) Like(field string, val interface{}) *Update
- func (u *Update) LikeIf(test bool, field string, val interface{}) *Update
- func (u *Update) Lt(field string, val interface{}) *Update
- func (u *Update) LtIf(test bool, field string, val interface{}) *Update
- func (u *Update) Lte(field string, val interface{}) *Update
- func (u *Update) LteIf(test bool, field string, val interface{}) *Update
- func (u *Update) Or(cause *Query) *Update
- func (u *Update) Query() *Query
- func (u *Update) Set(field string, val interface{}) *Update
- func (u *Update) SetExpr(field string, expr string, args ...interface{}) *Update
- func (u *Update) SetExprIf(test bool, field string, Expr string, args ...interface{}) *Update
- func (u *Update) SetIf(test bool, field string, val interface{}) *Update
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
}
Click to show internal directories.
Click to hide internal directories.