3 messages in com.googlegroups.sqlalchemy[sqlalchemy] Any way to determine whe...
FromSent OnAttachments
Olli Wang30 Apr 2008 03:33 
Kyle Schaffrick30 Apr 2008 05:23 
az...@svilendobrev.com30 Apr 2008 05:30 
Subject:[sqlalchemy] Any way to determine whether the url exists or not?
From:Olli Wang (olli@gmail.com)
Date:04/30/2008 03:33:53 AM
List:com.googlegroups.sqlalchemy

Hi, I'm trying to determine whether the url's database exists or not, but didn't find any approach. I created a sqlite engine:

engine = create_engine('sqlite:///test.sqlite')

And tried to connect it:

engine.connect()

But it just created the database file if not existed. So is there any way to achieve what I expect? Thanks.