44 ms·
Can you tell me why? Not only can you select from a view, but at least in Postgres you can also insert, update, and delete against one too. I don't use an ORM.
by combatentropy 7y ago
Can you tell me why? Not only can you select from a view, but at least in Postgres you can also insert, update, and delete against one too.
I don't use an ORM. But however you specify a table name in the application code, I imagine just specifying the name of a view instead. The ORM selects, inserts, updates, or deletes with the view as the target, instead of a table. It would not know it was not a table.