Replies: 1 comment
-
There is incubator-db repo, feel free to contribute your dialect with docs provided. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys,
I had a problem with Phalcon 4, PostgreSQL and Materialized Views.
Phalcon 4 doesn't recognise Materialized Views as they are not present in "information_schema.columns" View.
I've resolved it by:
creating dedicated view that mimics "information_schema.columns", I did it by manipulating SQL View that creates it, see original SQL of the View: select pg_get_viewdef('information_schema.columns', true);
I've created my own SQL Dialect and SQL Adapter for Postgresql that uses my view instead of "information_schema.columns" view.
Now I can create \Phalcon\Mvc\Model class that will work with Materialized Views.
I wonder if anyone needs that, if so there are two ways to implement that functionality:
If anyone needs that, I have time in the next 1-2 months to make contribution to Phalcon, and create 1) or 2).
If nobody needs that, I don't want to waste my time :)
Beta Was this translation helpful? Give feedback.
All reactions