Skip to content

Commit e0e4379

Browse files
committed
Fix issue with poor column name choices
1 parent 76219ca commit e0e4379

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strontium",
3-
"version": "2.9.10",
3+
"version": "2.9.11",
44
"description": "Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects.",
55
"main": "lib/src/index.js",
66
"types": "lib/src/index.d.ts",

src/query/drivers/sql/TableRepository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export abstract class TableRepository<
7676
} else {
7777
let query = `
7878
INSERT INTO
79-
?? (${Object.keys(filteredPayload).map(() => "??")})
79+
?? (${Object.keys(filteredPayload).map(() => `"??"`)})
8080
VALUES
8181
(${Object.keys(filteredPayload).map(() => "?")})
8282
RETURNING ??

0 commit comments

Comments
 (0)