fixup
This commit is contained in:
parent
7c2ca8bbe4
commit
6d4cbbd1b2
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ export default class BaaPagination<T extends {[k: string]: any}, keyType extends
|
||||||
arrayToInsert.push(...fields.map(field => body[field]));
|
arrayToInsert.push(...fields.map(field => body[field]));
|
||||||
|
|
||||||
await database.query(
|
await database.query(
|
||||||
"INSERT INTO `clients` " +
|
`INSERT INTO \`${this.table}\` ` +
|
||||||
`(\`${this.key}\`,\`${fields.join("`, `")}\`) ` +
|
`(\`${this.key}\`,\`${fields.join("`, `")}\`) ` +
|
||||||
"VALUES (" +
|
"VALUES (" +
|
||||||
"?, ".repeat(fields.length) +
|
"?, ".repeat(fields.length) +
|
||||||
|
|
Loading…
Reference in a new issue