We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0922ba commit e23bd8fCopy full SHA for e23bd8f
1 file changed
apps/api/src/instrument-records/instrument-records.service.ts
@@ -146,6 +146,7 @@ export class InstrumentRecordsService {
146
}
147
148
async exportRecords({ groupId }: { groupId?: string } = {}, { ability }: EntityOperationOptions = {}) {
149
+ //separate this into seperate queries that are done within the thread (ie find session and subject info in thread instead with prisma model)
150
const records = await this.instrumentRecordModel.findMany({
151
include: {
152
session: {
0 commit comments