Re: Creating database tables from queries based on ORM API?

Markus Elfring <[email protected]> Sat, 13 Apr 2019 18:19:40 +0200
Newsgroups gmane.comp.python.sqlobject
Message-ID <[email protected]>
>> Can the support be improved for the command variant ???CREATE TABLE AS SELECT??? (CTAS)
>> in this software area?
>
>    How would you write that in Python?

It could be written already if such a SQL command would be submitted to
a direct database programming interface.
This software situation can look different if there are additional
abstractions involved because of object-relational mapping.
Can a query object be passed as a parameter for a corresponding method call?

Regards,
Markus