Skip to content

Commit b7c8d06

Browse files
authored
Merge pull request #5 from StrontiumJS/master
sync
2 parents 3a05c08 + dc17e15 commit b7c8d06

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

package-lock.json

Lines changed: 9 additions & 4 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": "strontium",
3-
"version": "2.7.4",
3+
"version": "2.7.7",
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ export abstract class TableRepository<
119119

120120
let lookupQuery = `
121121
SELECT
122-
${this.queryFields.join(", ")}
122+
${this.queryFields.map((f) => `"${f}"`).join(", ")}
123123
FROM
124124
??
125-
${filterQuery !== "" ? "WHERE" : ""}
125+
${filterQuery !== "" ? "WHERE" : ""}
126126
${filterQuery}
127127
`
128128

0 commit comments

Comments
 (0)