Expose internal RawBool type
This commit is contained in:
parent
a428981a2d
commit
0a7e0b5392
7 changed files with 17 additions and 0 deletions
|
|
@ -445,6 +445,11 @@ func RawWithParent(raw string, parent ...Expression) Expression {
|
|||
return rawExp
|
||||
}
|
||||
|
||||
// RawBool helper that for raw string boolean expressions
|
||||
func RawBool(raw string, namedArgs ...map[string]interface{}) BoolExpression {
|
||||
return BoolExp(Raw(raw, namedArgs...))
|
||||
}
|
||||
|
||||
// RawInt helper that for integer expressions
|
||||
func RawInt(raw string, namedArgs ...map[string]interface{}) IntegerExpression {
|
||||
return IntExp(Raw(raw, namedArgs...))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue