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

Oleg Broytman <[email protected]> Sat, 13 Apr 2019 15:40:57 +0200
Newsgroups gmane.comp.python.sqlobject
Message-ID <[email protected]>
Hi!

On Sat, Apr 13, 2019 at 02:46:31PM +0200, Markus Elfring <[email protected]> wrote:
> Hello,
> 
> I would like to count value combinations in database records together with
> the software ???SQLObject 3.7.1???.
> The computation result should be stored into a dynamically generated table.
> I am curious how such table creation can be achieved by the programming
> interface ???object-relational mapping??? currently.

   You can create a table using high-level API:

http://sqlobject.org/SQLObject.html#declaring-the-class

   or you can execute ``CREATE TABLE`` directly.

> Regards,
> Markus

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