Skip to content

Commit 1c45458

Browse files
🏯 Avoid stripping * from queries.
1 parent 4f41ff6 commit 1c45458

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/api/db/db-client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ const db = knex({
1919
}
2020
},
2121
wrapIdentifier: (value, origImpl, queryContext) => {
22+
if (value === '*') {
23+
return origImpl(value)
24+
}
25+
2226
const specialValue = NON_STANDARD_COLUMN_NAMES_TRANSFORMS[value]
2327
if (specialValue) {
2428
return origImpl(specialValue)

0 commit comments

Comments
 (0)