Author: phd
Date: 2006-12-28 13:10:21 -0700 (Thu, 28 Dec 2006)
New Revision: 2156
Modified:
SQLObject/docs/News.txt
Log:
SQLite connection got columnsFromSchema() and delColumn().
Modified: SQLObject/docs/News.txt
===================================================================
--- SQLObject/docs/News.txt 2006-12-28 20:09:12 UTC (rev 2155)
+++ SQLObject/docs/News.txt 2006-12-28 20:10:21 UTC (rev 2156)
@@ -15,6 +15,21 @@
* Support for Python 2.2 has been declared obsolete.
+* SQLite connection got columnsFromSchema(). Now all connections fully support
+ fromDatabase. There are two version of columnsFromSchema() for SQLite -
+ one parses the result of "SELECT sql FROM sqlite_master" and the other
+ uses "PRAGMA table_info"; the user can choose one over the other by using
+ "use_table_info" parameter in DB URI; default is False as the pragma is
+ available only in the later versions of SQLite.
+
+* Changed connection.delColumn(): the first argument is sqlmeta, not
+ tableName (required for SQLite).
+
+* SQLite connection got delColumn(). Now all connections fully support
+ delColumn(). As SQLite backend doesn't implement "ALTER TABLE DROP COLUMN"
+ delColumn() is implemented by creating a new table without the column,
+ copying all data, dropping the original table and renaming the new table.
+
Small Features
--------------
|