Greetings. Has anyone been doing date related quer...
# orm-help
p
Greetings. Has anyone been doing date related queries with prisma? Lets say I wanted to do a findfirst query with a where option object to find a record from a specific date, But I do not know the hours, minutes or seconds of the date recorded in the database. Anyone got some tips?
s
you can do comparisons like:
Copy code
where: {
   createdAt: { gte: '2021-11-02' },
}
💯 1
p
Nice thx