This commit is contained in:
Wroclaw 2023-05-11 10:49:47 +02:00
parent 7c2ca8bbe4
commit 6d4cbbd1b2

View file

@ -148,7 +148,7 @@ export default class BaaPagination<T extends {[k: string]: any}, keyType extends
arrayToInsert.push(...fields.map(field => body[field]));
await database.query(
"INSERT INTO `clients` " +
`INSERT INTO \`${this.table}\` ` +
`(\`${this.key}\`,\`${fields.join("`, `")}\`) ` +
"VALUES (" +
"?, ".repeat(fields.length) +