How to filter entries using today's date in sqlalchemy [closed]

15 hours ago 3
ARTICLE AD BOX

So I have a table meal_logs that logs meals that a user has had along with the timestamp of when it was logged.

In order to calculate today's macros summary, I want to first fetch all the entries of today and then work my way around.

Does datetime allow (<, >, ==) operations. How do I do this?

Read Entire Article