mirror of https://github.com/calzoneman/sync.git
Fix sqlescape breaking table names
This commit is contained in:
parent
70f2065a36
commit
723da8b9d9
|
@ -79,6 +79,8 @@ function createQuery(template, args) {
|
|||
template = first + template.substring(idx).replace("?", arg);
|
||||
last = idx + arg.length;
|
||||
}
|
||||
template = template.replace(/`'/g, "`");
|
||||
template = template.replace(/'`/g, "`");
|
||||
return template;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue