Added LowerExpr and UpperExpr
This commit is contained in:
parent
9e23996e16
commit
7eb0cacec0
@ -323,6 +323,16 @@ func (e *expr) Min() string {
|
||||
return "MIN(" + e.expr + ")"
|
||||
}
|
||||
|
||||
func (e *expr) LowerExpr() *expr {
|
||||
e.expr = "LOWER(" + e.expr + ")"
|
||||
return e
|
||||
}
|
||||
|
||||
func (e *expr) UpperExpr() *expr {
|
||||
e.expr = "UPPER(" + e.expr + ")"
|
||||
return e
|
||||
}
|
||||
|
||||
func (e *expr) Lower() string {
|
||||
return "LOWER(" + e.expr + ")"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user