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.
2 parents b0aa738 + 3b9da29 commit 20ba903Copy full SHA for 20ba903
coffee/api.coffee
@@ -186,7 +186,7 @@ class Statement
186
when "number","boolean" then @bindNumber val+0, pos
187
when "object"
188
if val is null then @bindNull pos
189
- if val.length? then @bindBlob val, pos
+ else if val.length? then @bindBlob val, pos
190
else throw "Wrong API use : tried to bind a value of an unknown type (#{val})."
191
### Bind names and values of an object to the named parameters of the statement
192
@param [Object]
0 commit comments