Add orderBy statement to make debugging easier (#868)

This commit is contained in:
Thomas Kaul 2022-04-25 22:37:56 +02:00 committed by GitHub
parent b7bbc029ac
commit da27504aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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