[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7180 - trunk/gnue-common/src/datasources/drivers/Base
From: |
reinhard |
Subject: |
[gnue] r7180 - trunk/gnue-common/src/datasources/drivers/Base |
Date: |
Fri, 11 Mar 2005 17:10:07 -0600 (CST) |
Author: reinhard
Date: 2005-03-11 17:10:06 -0600 (Fri, 11 Mar 2005)
New Revision: 7180
Modified:
trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
Log:
Do not requery non-bound fields.
Modified: trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2005-03-11
23:01:01 UTC (rev 7179)
+++ trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2005-03-11
23:10:06 UTC (rev 7180)
@@ -279,6 +279,8 @@
This method may not be called if the record has unsaved changes; they would
get lost!
"""
+ fields = [field for field in self._fields.keys ()
+ if self._parent.isFieldBound (field)]
do = self._parent._dataObject
newfields = do._connection.requery (do.table, self.__wherefields (),
self._fields.keys ())
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7180 - trunk/gnue-common/src/datasources/drivers/Base,
reinhard <=