-Original Message-
From: sqlalchemy@googlegroups.com
[mailto:sqlalch...@googlegroups.com] On Behalf Of Christian Démolis
Sent: 01 October 2009 10:40
To: sqlalchemy@googlegroups.com
Subject: [sqlalchemy] Bypass checking to database structure
(metadata.create_all)
Hi again,
Thx Simon,
I tried Base.metadata.create_all(engine, checkfirst=False)
but it throws an error.
When checkfirst is True, the declaration works.
I don t understand...
Maybe orm needs additional information in declarative classes when
checkfirst=False because orm doesn t look in database in this
On Thu, Oct 1, 2009 at 6:25 PM, Christian Démolis
christiandemo...@gmail.com wrote:
Thx Simon,
I tried Base.metadata.create_all(engine, checkfirst=False)
but it throws an error.
When checkfirst is True, the declaration works.
I don t understand...
Maybe orm needs additional information in
Ok, i just realize that create_all is useless when database already exist.
Starting my application is 6 seconds faster now.
Thanks all
2009/10/1 limodou limo...@gmail.com
On Thu, Oct 1, 2009 at 6:25 PM, Christian Démolis
christiandemo...@gmail.com wrote:
Thx Simon,
I tried