0

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?

2

1 Answer 1

1

I managed to do it:

result = func.generate_series(min_date, max_date, '1 day')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.