Browse Source

Add orderBy statement to make debugging easier

pull/868/head
Thomas 3 years ago
parent
commit
45cd1ec213
  1. 1
      apps/api/src/services/data-gathering.service.ts

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

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

Loading…
Cancel
Save