You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's easy - the author forgot to add "g" to Regexp . Driver.js:
getSqlFromSqlTree: function(sqlTree) {
...
// process where
...
expr = expr.replace(/?/g, getValuesSubstitutionStringFunc);
(haven't tested other drivers)
Throws:
{"name":"error","length":84,"severity":"ERROR","code":"42601","position":"423","file":"scan.l","line":"1053","routine":"scanner_yyerror"}
when this piece of code is used:
Managed to debug up to _runSql3, where it gave:
text: select t0."nameofcolumn1" AS c0, t0."nameofcolumn2" AS c1 FROM tablename1 AS t0 WHERE t0.nameofcolumn IN ($1,?)
values: [ 'one', 'two' ]
The text was updated successfully, but these errors were encountered: