28 |
# NOTES: |
# NOTES: |
29 |
# |
# |
30 |
|
|
31 |
import sys |
import sys,string |
32 |
from gnue.common.datasources import GDataObjects, GConditions, GConnections |
from gnue.common.datasources import GDataObjects, GConditions, GConnections |
33 |
from gnue.common.apps import GDebug |
from gnue.common.apps import GDebug |
34 |
from gnue.common.datasources.drivers.postgresql.Base.Driver \ |
from gnue.common.datasources.drivers.postgresql.Base.Driver \ |
70 |
i = 0 |
i = 0 |
71 |
dict = {} |
dict = {} |
72 |
for f in (rs): |
for f in (rs): |
73 |
dict[self._fieldNames[i]] = f |
if self._dataObject._unicodeMode: |
74 |
|
f=f.decode(self._dataObject._databaseEncoding) |
75 |
|
dict[string.lower(self._fieldNames[i])] = f |
76 |
i += 1 |
i += 1 |
77 |
self._cachedRecords.append (self._recordSetClass(parent=self, \ |
self._cachedRecords.append (self._recordSetClass(parent=self, \ |
78 |
initialData=dict)) |
initialData=dict)) |