Generator does not run on Views
I am using MySQL.
The generator identifies all the tables but it does not see the views. It would be nice if we could generate models for views.
It seems that it would require the generator working on tables without primary keys. I do not think you can add a primary key to a view at least not in MySql.
--edited--
it looks like typeorm itself does not support views or any table without a primary column:
https://github.com/typeorm/typeorm/issues/1135
We should wait for typeorm implementation for views and then decide if it can be reverse engineered from db. Typeorm proposal typeorm/typeorm#1024
View entities will be released in 0.2.17 https://github.com/typeorm/typeorm/issues/1024#issuecomment-481316914
@Kononnable : views are implemented in typeorm. Can you include views into model generation?
Thanks very much for this utility. Is there any update on generating view entities?
Just wanted to resurface this. Would love to help draft a PR for this.