I'm confused as to if this adds view support to the SQLAlchemy ORM?
As in, how would I go about defining a view model with this (that would be created/dropped automatically when the create_all/drop_all commands are used)?
Ideally one would be able to do something like:
class MyView(ModelView):
definition = 'SELECT * FROM mytable'
# column declaration that reflects the SQL
But I'm not sure if this addon allows for anything remotely like that.
I'm confused as to if this adds view support to the SQLAlchemy ORM?
As in, how would I go about defining a view model with this (that would be created/dropped automatically when the create_all/drop_all commands are used)?
Ideally one would be able to do something like:
But I'm not sure if this addon allows for anything remotely like that.