I can’t seem to find any info or documentation for query filter by date?
where : { createAt: { gte: new Date() } } something like this?
it keeps complaning how the datetime type. Can’t we use string ? if not whats the work around?
r
Ryan
08/18/2021, 7:19 AM
This will work fine. You can either use a Date object or an ISO String.