strapi entiryservice filter , sort between two dates
snaptests = await strapi.entityService.findMany(‘api::snaptest.snaptest’, { filters: { $and: [ { company: ctx.request.body.companyId, }, { createdAt: { $between: [ctx.request.body.fromDate, ctx.request.body.toDate] }, }, ], }, sort: { updatedAt: ‘desc’ }, populate: [‘company’] })