Browse Source

Add orderBy statement to make debugging easier (#868)

pull/866/head^2
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
da27504aa1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      apps/api/src/services/data-gathering.service.ts

1
apps/api/src/services/data-gathering.service.ts

@ -544,6 +544,7 @@ export class DataGatheringService {
await this.prismaService.marketData.groupBy({
_count: true,
by: ['symbol'],
orderBy: [{ symbol: 'asc' }],
where: {
date: { gt: startDate }
}

Loading…
Cancel
Save