From: <sub...@co...> - 2005-08-05 21:14:04
|
Author: test Date: 2005-08-05 21:14:00 +0000 (Fri, 05 Aug 2005) New Revision: 895 Modified: trunk/SQLObject/docs/FAQ.txt Log: Added entry on lazy updates and inserts Modified: trunk/SQLObject/docs/FAQ.txt =================================================================== --- trunk/SQLObject/docs/FAQ.txt 2005-08-05 21:13:42 UTC (rev 894) +++ trunk/SQLObject/docs/FAQ.txt 2005-08-05 21:14:00 UTC (rev 895) @@ -378,3 +378,15 @@ column. See `Irregular Naming`_ in the documentation. .. _Irregular Naming: SQLObject.html#irregular-naming + +Lazy Updates and Insert +----------------------- + +`Lazy updates <SQLObject.html#lazy-updates>`_ allow you to defer +sending ``UPDATES`` until you synchronize the object. However, there +is no way to do a lazy insert; as soon as you create an instance the +``INSERT`` is executed. + +The reason for this limit is that each object needs a database ID, and +in many databases you cannot attain an ID until you create a row. + |