Is it possible to use a regex in a way similar to session.query(MyObject).filter_by(REGEX)?
If not, how can I use sqlAlchemy to retrieve records that have a varchar PK beginning with a certain value (e.g. all those whose city field begins with “SA”)? Thanks.
I think I got it: