Documentation
¶
Index ¶
- func Apply(sb *sqlbuilder.SelectBuilder, conditions ...Condition)
- func ApplyDelete(sb *sqlbuilder.DeleteBuilder, conditions ...Condition)
- func ApplySelect(sb *sqlbuilder.SelectBuilder, conditions ...Condition)
- func ApplyUpdate(sb *sqlbuilder.UpdateBuilder, conditions ...Condition)
- type Condition
- type Operator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(sb *sqlbuilder.SelectBuilder, conditions ...Condition)
func ApplyDelete ¶ added in v0.5.0
func ApplyDelete(sb *sqlbuilder.DeleteBuilder, conditions ...Condition)
func ApplySelect ¶ added in v0.5.0
func ApplySelect(sb *sqlbuilder.SelectBuilder, conditions ...Condition)
func ApplyUpdate ¶ added in v0.5.0
func ApplyUpdate(sb *sqlbuilder.UpdateBuilder, conditions ...Condition)
Types ¶
type Condition ¶
type Operator ¶ added in v0.4.0
type Operator string
const ( Equal Operator = "=" NotEqual Operator = "!=" GreaterThan Operator = ">" LessThan Operator = "<" GreaterEqualThan Operator = ">=" LessEqualThan Operator = "<=" In Operator = "IN" NotIn Operator = "NOT IN" Like Operator = "LIKE" NotLike Operator = "NOT LIKE" Limit Operator = "LIMIT" Offset Operator = "OFFSET" Between Operator = "BETWEEN" OrderBy Operator = "ORDER BY" )
Click to show internal directories.
Click to hide internal directories.