Expression casting between builtin types.

This commit is contained in:
zer0sub 2019-06-02 18:12:44 +02:00
parent fcd3596780
commit 37a55e6ee3
8 changed files with 294 additions and 47 deletions

View file

@ -139,11 +139,11 @@ func (q *queryData) write(data []byte) {
}
func isPreSeparator(b byte) bool {
return b == ' ' || b == '.' || b == ',' || b == '(' || b == '\n'
return b == ' ' || b == '.' || b == ',' || b == '(' || b == '\n' || b == ':'
}
func isPostSeparator(b byte) bool {
return b == ' ' || b == '.' || b == ',' || b == ')' || b == '\n'
return b == ' ' || b == '.' || b == ',' || b == ')' || b == '\n' || b == ':'
}
func (q *queryData) writeString(str string) {