[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7182 - trunk/gnue-common/src/datasources/drivers/appserver/appse
From: |
reinhard |
Subject: |
[gnue] r7182 - trunk/gnue-common/src/datasources/drivers/appserver/appserver |
Date: |
Fri, 11 Mar 2005 17:25:04 -0600 (CST) |
Author: reinhard
Date: 2005-03-11 17:25:04 -0600 (Fri, 11 Mar 2005)
New Revision: 7182
Modified:
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
Log:
Implemented requery for appserver.
Modified:
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-11 23:14:30 UTC (rev 7181)
+++ trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-11 23:25:04 UTC (rev 7182)
@@ -163,6 +163,20 @@
# ---------------------------------------------------------------------------
+ # Update all fields of a record after update/inserts
+ # ---------------------------------------------------------------------------
+
+ def _requery (self, table, oldfields, fields):
+
+ list = self._sm.load (self._sess_id, table, [oldfields ['gnue_id']],
+ fields) [0]
+ result = {}
+ for i in range (len (fields)):
+ result [fields [i]] = list [i]
+ return result
+
+
+ # ---------------------------------------------------------------------------
# Commit active transaction
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7182 - trunk/gnue-common/src/datasources/drivers/appserver/appserver,
reinhard <=