Documentation ¶
Index ¶
- func And(clause string, args ...interface{}) qm.QueryMod
- func AndIn(clause string, args ...interface{}) qm.QueryMod
- func For(clause string) qm.QueryMod
- func From(from string) qm.QueryMod
- func GroupBy(clause string) qm.QueryMod
- func Having(clause string, args ...interface{}) qm.QueryMod
- func InnerJoin(clause string, args ...interface{}) qm.QueryMod
- func Limit(limit int) qm.QueryMod
- func Offset(offset int) qm.QueryMod
- func Or(clause string, args ...interface{}) qm.QueryMod
- func OrIn(clause string, args ...interface{}) qm.QueryMod
- func OrderBy(clause string) qm.QueryMod
- func Where(clause string, args ...interface{}) qm.QueryMod
- func WhereIn(clause string, args ...interface{}) qm.QueryMod
- type QueryMod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func And ¶
And allows you to specify a where clause separated by an AND for your statement And is a duplicate of the Where function, but allows for more natural looking query mod chains, for example: (Where("a=?"), And("b=?"), Or("c=?")))
func AndIn ¶
AndIn allows you to specify a "x IN (set)" clause separated by an AndIn for your where statement. AndIn is a duplicate of the WhereIn function, but allows for more natural looking query mod chains, for example: (WhereIn("column1 in ?"), AndIn("column2 in ?"), OrIn("column3 in ?"))
Types ¶
Click to show internal directories.
Click to hide internal directories.