Add orderBy statement to make debugging easier (#868)

pull/866/head^2
Thomas Kaul 3 years ago committed by GitHub
parent b7bbc029ac
commit da27504aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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