Hi All,
How would I express the following postgresql query in SQLAlchemy?
select * from observation where '[2013-01-01,2013-01-03)'::tsrange @>
period;
I know how to do the right operand:
session.query(Observation).filter(Observation.period.contains(Range(...)))
...but not the other way round.
What am I missing?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.