Skip to content

Commit b2b8262

Browse files
committed
⛄ try with 4 quotes then
1 parent 2b146ef commit b2b8262

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function addRow3(val, z='', i=0) {
2626
z += ') VALUES\n(';
2727
}
2828
for(var k in val)
29-
z += val[k]==null? 'NULL, ':`'${val[k].toString().replace(/[\'\"]/g, '$&$&')}', `;
29+
z += val[k]==null? 'NULL, ':`'${val[k].toString().replace(/[\'\"]/g, '$&$&$&$&')}', `;
3030
z = z.endsWith(', ')? z.substring(0, z.length-2):z;
3131
z += '),\n(';
3232
return z;

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sql-extra",
3-
"version": "0.1.10",
3+
"version": "0.1.11",
44
"description": "Extra methods for generating SQL commands.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)