Skip to content

Commit 554c123

Browse files
committed
Fix broken Postgres Support in latest release of TableRepository
1 parent 8bf5187 commit 554c123

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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.6.2",
3+
"version": "2.6.3",
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export abstract class TableRepository<
3737

3838
if (store instanceof PGStore) {
3939
this.postProcessor = pgQueryPostProcessor
40+
this.tableName = `"${this.tableName}"`
4041
}
4142
}
4243

0 commit comments

Comments
 (0)