Re: [SQLObject] Checking if a table exists ?
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <pa...@su...> - 2004-09-19 13:43:29
|
Markus Jais wrote: > hello > > what is the best way in SQLObject to check if > a table already exists. > > lets say I have a table of authors and a > class Author. > > for creating the table I would call > Author.createTable() > > now I want to check everytime I start my programm > if the table already exists and if not it should > be created. Author.createTable(ifNotExists=True) hth Paul |