We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31d4cea commit acb8c3aCopy full SHA for acb8c3a
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "strontium",
3
- "version": "2.7.4",
+ "version": "2.7.5",
4
"description": "Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects.",
5
"main": "lib/src/index.js",
6
"types": "lib/src/index.d.ts",
src/query/drivers/sql/TableRepository.ts
@@ -119,10 +119,10 @@ export abstract class TableRepository<
119
120
let lookupQuery = `
121
SELECT
122
- ${this.queryFields.join(", ")}
+ ${this.queryFields.map((f) => `"${f}"`).join(", ")}
123
FROM
124
??
125
- ${filterQuery !== "" ? "WHERE" : ""}
+ ${filterQuery !== "" ? "WHERE" : ""}
126
${filterQuery}
127
`
128
0 commit comments