I'm just learning SQL Alchemy and using the ORM to pull in records.
However, there are some functions that appear to be unique to the other way of pulling in records, like sqlalchemy.and_',
sqlalchemy.or_', etc.
I'm wondering how I can use the ORM but still employ some "OR" subclauses so I can do things like: given an ORM object Person
select all records where last name is "Smith" or "Lee" or "Bishop" but exclude records where age is less than 18.
Is this only possible if I don't use the ORM?