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

Oleg Broytman <[email protected]> Sat, 13 Apr 2019 18:05:46 +0200
Newsgroups gmane.comp.python.sqlobject
Message-ID <[email protected]>
On Sat, Apr 13, 2019 at 05:08:48PM +0200, Markus Elfring <[email protected]> wrote:
> >    You can create a table using high-level API:
> >
> > http://sqlobject.org/SQLObject.html#declaring-the-class
> >
> >    or you can execute ``CREATE TABLE`` directly.
> 
> 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?

> Regards,
> Markus

Oleg.
-- 
    Oleg Broytman            https://phdru.name/            [email protected]
           Programmers don't die, they just GOSUB without RETURN.