I don\'t have much experience with SQLAlchemy and I have a problem, which I can\'t solve. I tried searching and I tried a lot of code. This is my Class (reduced to the most
Good news for you: I recently made package that gives you filtering/sorting with "magical" strings as in Django, so you can now write something like
Patient.where(mother___phenoscore=10)
It's a lot shorter, especially for complex filters, say,
Comment.where(post___public=True, post___user___name__like='Bi%')
Hope you will enjoy this package
https://github.com/absent1706/sqlalchemy-mixins#django-like-queries