Re: Support for CTAS statement with ORM API?

2019-04-29 Thread Markus Elfring
> To both of these - the Django ORM doesn't work in the same way as SQLAlchemy. I guess that it can become interesting to clarify software differences a bit more. > Django does not have such a representation, Thanks for such background information. > it bundles everything in the Query class.

Re: Support for CTAS statement with ORM API?

2019-04-28 Thread Markus Elfring
> AFAIU from the link, the source code is extending SQLAlchemy to support CTAS, > so it's not built-in there. It seems that the functionality is already usable by this class library in a convenient way. > It's similarly possible to do a CTAS in Django with a little raw SQL > and the ORM's intern

Re: Support for CTAS statement with ORM API?

2019-04-26 Thread Markus Elfring
> CTAS can be useful in some cases, Thanks for such feedback. > but I can't imagine how we'd fit it into the Django ORM nicely. This is an usual challenge for such software extensions, isn't it? > There wouldn't be a model for the correspondingly created table. Can a data model be determined

Support for CTAS statement with ORM API?

2019-04-24 Thread Markus Elfring
Hello, I contributed the feature request “Creating database tables from queries based on ORM API” . Today it was requested to continue the clarification for mentioned software aspects in this forum. Can the support for the SQL standard statement “CRE