[SQL-CVS] r1177 - SQLObject/trunk/docs
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2005-10-31 17:15:58
|
Author: test Date: 2005-10-31 17:15:43 +0000 (Mon, 31 Oct 2005) New Revision: 1177 Modified: SQLObject/trunk/docs/News.txt Log: Added news on new doInTransaction method Modified: SQLObject/trunk/docs/News.txt =================================================================== --- SQLObject/trunk/docs/News.txt 2005-10-31 16:54:16 UTC (rev 1176) +++ SQLObject/trunk/docs/News.txt 2005-10-31 17:15:43 UTC (rev 1177) @@ -27,13 +27,22 @@ instead you must manually create it (e.g., with explicit SQLObject classes for the joins). -* Added ``createSQL`` as an option for sqlmeta. Here you can add related SQL - you want executed by sqlobject-admin create after table creation. createSQL - expects a string, list, or dictionary. If using a dictionary the key should - be a dbName value (ex. 'postgres') and the value should be a string or list. - Examples in sqlobject/tests/test_sqlobject_admin.py or at +* Added ``createSQL`` as an option for sqlmeta. Here you can add + related SQL you want executed by sqlobject-admin create after table + creation. createSQL expects a string, list, or dictionary. If using + a dictionary the key should be a dbName value (ex. 'postgres') and + the value should be a string or list. Examples in + sqlobject/tests/test_sqlobject_admin.py or at <http://sqlobject.org/sqlobject-admin.html#the-create-command> +* Added method ``sqlhub.doInTransaction(callable, *args, **kwargs)``, + to be used like:: + + sqlhub.doInTransaction(process_request, os.environ) + + This will run ``process_request(os.environ)``. The return + value will be preserved. + SQLObject 0.7.1 =============== |