Skip to content

ORM Support? #4

@fgblomqvist

Description

@fgblomqvist

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions