Reputation: 448
I need a sequence of all days between two dates =, in raw PostgreSQL, I would use generate_series function. How to do this with SQLAlchemy?
Upvotes: 0
Views: 640
Reputation: 448
I managed to do it:
result = func.generate_series(min_date, max_date, '1 day')
Upvotes: 1