Join Slack
Powered by
Hello guys! I want to search through a DateTime fo...
# orm-help
t
Tomas Jais
08/09/2021, 7:57 PM
Hello guys! I want to search through a DateTime for a specific date in Date format, in SQL I should do it with a between, how can I do it with the ORM?
r
Ryan
08/10/2021, 5:57 AM
@Tomas Jais
👋 You can use
gte
and `lte`:
Copy code
where: { date: { gte: somedate, lte: somedate2 } }
Open in Slack
Previous
Next