Re: [SQLObject] delete an entire table

2006-07-07 Thread Didrik Pinte
Le vendredi 07 juillet 2006 à 10:28 -0400, Emily Fortuna a écrit : > Hello everyone, > How can you delete an entire table (so that you can set up a new one > with different columns -- I'm using SQLite)? I've been searching all > over the web and can't seem to find it. > Emily Here is a little e

Re: [SQLObject] delete an entire table

2006-07-07 Thread Kumar McMillan
if you don't care about the data, just use YourTable.dropTable() i.e. >>> from sqlobject import * >>> class YourTable(SQLObject): ... aField = StringCol() ... >>> YourTable._connection = connectionForURI('sqlite:/:memory:') >>> YourTable.createTable() [] >>> list(YourTable.select()) [] >>> Yo

[SQLObject] delete an entire table

2006-07-07 Thread Emily Fortuna
Hello everyone, How can you delete an entire table (so that you can set up a new one with different columns -- I'm using SQLite)? I've been searching all over the web and can't seem to find it. Emily Using Tomcat but need to do more? Need to support web services, security? Get stuff done quick