SQLAlchemy - "Base.query = db_session.query_property()"
I just saw this line in the SQLAlchemy flask patterns example:Base.query = db_session.query_property()
I went searching for what it does and found this: https://eoyilmaz.blogspot.com/2014/01/i-feel-so-much-hungry-about-posting.html
Now I know how Flask-SQLAlchemy made queries work with Model.query instead of session.query(Model).