Are there any plans to support DB Views ? Would the team be interested in 
mainlining it if there is a PR for it ? 

I tend to use DB Views on Postgres at my day job and wouldn't mind adding 
basic support across Django's supported DBs. I'll probably take inspiration 
from Knex.js <https://knexjs.org/#Schema-createView> to implement it.

I'm imagining something along the lines of,

class NewView(models.ViewModel):
         def view_qs(self):
                return qs # Define with QS  to be used in CREATE VIEW 
App_ViewModel as QS;

migrations.CreateViewModel( ... )
migrations.DeleteViewModel( ... )
migrations.UpdateViewModel( ... )
   

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/e009c1bd-8a68-486a-8b7f-7c3d9e3553een%40googlegroups.com.

Reply via email to