Skip to content

Commit 6298e0b

Browse files
Daniel Atwoodkyleconroy
Daniel Atwood
andauthored
Added ISNULL return type (#631)
* Fixed typo in settings example in README emit_empty_slices was misspelled as emit_emptly_slices * Add support for ISNULL function Co-authored-by: Kyle Conroy <kyle@conroy.org>
1 parent bca48e6 commit 6298e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/mysql/functions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
func functionReturnType(f string) string {
99
switch f {
1010
case "avg", "count", "instr", "sum", "min", "max", "length", "char_length",
11-
"ceil", "floor", "mod":
11+
"ceil", "floor", "mod", "isnull":
1212
return "int"
1313
case "concat", "left", "replace", "substring", "trim", "find_in_set", "format", "group_concat":
1414
return "varchar"

0 commit comments

Comments
 (0)