We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c96fe1 commit e375bf8Copy full SHA for e375bf8
libs/json-api-nestjs/src/lib/mixin/service/typeorm/methods/get-all/get-all.ts
@@ -165,7 +165,7 @@ export async function getAll<T>(
165
.innerJoin(
166
`(${builder.getQuery()})`,
167
'subQuery',
168
- `"subQuery"."${subQueryIdAlias}" = ${countAlias}.${primaryColumn}`
+ `${builder.escape('subQuery')}.${builder.escape(subQueryIdAlias)} = ${countAlias}.${primaryColumn}`
169
)
170
.setParameters(builder.getParameters())
171
.getRawMany<T>();
0 commit comments