Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #14928
| Date | 2011-10-24 18:43 +0200 |
|---|---|
| From | Martin Komoň <M.Komon@SiliconHill.cz> |
| Subject | Re: Convert DDL to ORM |
| References | <CAO+9iGcWsjOusfE=Fu5D=iSz2o_T_aJZ1z=k=n1_TsnL=uhpiA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2185.1319474595.27778.python-list@python.org> (permalink) |
Hi, for the project I'm working on right now I've written a simple "SQL create script to ORM generator". I use SQLalchemy as well and this generator takes all tables and prepares classes, maps them to tables, introspects them and creates explicit attribute definitions in the classes. Contact me off-list for more details. Martin On 10/24/2011 6:30 PM, Alec Taylor wrote: > Good morning, > > I'm often generating DDLs from EER->Logical diagrams using tools such > as PowerDesigner and Oracle Data Modeller. > > I've recently come across an ORM library (SQLalchemy), and it seems > like a quite useful abstraction. > > Is there a way to convert my DDL to ORM code? > > Thanks for all suggestions, > > Alec Taylor
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Convert DDL to ORM Martin Komoň <M.Komon@SiliconHill.cz> - 2011-10-24 18:43 +0200
csiph-web