2

Does SQLAlchemy see tables and views as the same? If not, how would I tell SQLAlchemy that a database object is a view rather than a table? I could not find this anywhere in SQLAlchemy's documentation or online.

FearlessFuture
  • 2,250
  • 4
  • 19
  • 25
  • 2
    A couple of links, [this one](http://stackoverflow.com/questions/9766940/how-to-create-an-sql-view-with-sqlalchemy) is for version 0.7 but I think it still applies since this [faq list](http://docs.sqlalchemy.org/en/latest/faq/metadata_schema.html#does-sqlalchemy-support-alter-table-create-view-create-trigger-schema-upgrade-functionality) states it is still not supported. Hope it helps. – lrnzcig Jun 21 '15 at 16:36
  • 1
    I think the linked question in the previous comment plus [this one](http://stackoverflow.com/a/2027143/3079302) answer your question. – iled Mar 30 '16 at 16:53

0 Answers0