We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb170e commit 955eb2eCopy full SHA for 955eb2e
src/sqlbuilderpkg/insert.nim
@@ -74,7 +74,7 @@ proc sqlInsert*(table: string, data: varargs[string], args: seq[string] = @[]):
74
#
75
# Check corresponding args
76
if checkArgs:
77
- if args[i].len() == 0:
+ if args[i].len() == 0 or args[i] == "NULL":
78
vals.add("NULL")
79
else:
80
vals.add('?')
0 commit comments