Row and Array Comparisons (IN, NOT_IN).
This commit is contained in:
parent
d69c67569a
commit
384c0c67f5
19 changed files with 170 additions and 231 deletions
|
|
@ -82,20 +82,12 @@ func Or(lhs, rhs expression) BoolExpression {
|
|||
return newBinaryBoolExpression(lhs, rhs, "OR")
|
||||
}
|
||||
|
||||
func Like(lhs, rhs expression) BoolExpression {
|
||||
return newBinaryBoolExpression(lhs, rhs, "LIKE")
|
||||
}
|
||||
|
||||
func LikeL(lhs expression, val string) BoolExpression {
|
||||
return Like(lhs, Literal(val))
|
||||
}
|
||||
|
||||
func Regexp(lhs, rhs expression) BoolExpression {
|
||||
return newBinaryBoolExpression(lhs, rhs, "REGEXP")
|
||||
}
|
||||
|
||||
func RegexpL(lhs expression, val string) BoolExpression {
|
||||
return Regexp(lhs, Literal(val))
|
||||
return Regexp(lhs, literal(val))
|
||||
}
|
||||
|
||||
func EXISTS(subQuery selectStatement) BoolExpression {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue