Add ROW constructor and IN/EXISTS operator.
This commit is contained in:
parent
08e4392278
commit
3367df247c
18 changed files with 183 additions and 565 deletions
|
|
@ -14,17 +14,17 @@ type stringInterfaceImpl struct {
|
|||
}
|
||||
|
||||
func (b *stringInterfaceImpl) Eq(expression StringExpression) BoolExpression {
|
||||
return newBinaryBoolExpression(b.parent, expression, []byte(" = "))
|
||||
return newBinaryBoolExpression(b.parent, expression, " = ")
|
||||
}
|
||||
|
||||
func (b *stringInterfaceImpl) EqL(value string) BoolExpression {
|
||||
return newBinaryBoolExpression(b.parent, Literal(value), []byte(" = "))
|
||||
return newBinaryBoolExpression(b.parent, Literal(value), " = ")
|
||||
}
|
||||
|
||||
func (b *stringInterfaceImpl) NotEq(expression StringExpression) BoolExpression {
|
||||
return newBinaryBoolExpression(b.parent, expression, []byte(" != "))
|
||||
return newBinaryBoolExpression(b.parent, expression, " != ")
|
||||
}
|
||||
|
||||
func (b *stringInterfaceImpl) NotEqL(value string) BoolExpression {
|
||||
return newBinaryBoolExpression(b.parent, Literal(value), []byte(" != "))
|
||||
return newBinaryBoolExpression(b.parent, Literal(value), " != ")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue