summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-04-25 04:58:38 +0000
committerFederico Di Gregorio <fog@initd.org>2005-04-25 04:58:38 +0000
commit431a2aec6c98846405f06230def36f5ce6da8a2b (patch)
tree0e3e09e8469c0501b40501eae86ea763d6a6cda0 /lib/extras.py
parent10dc03462bcdda0a557194c4be5a9ce9281e574e (diff)
downloadpsycopg2-431a2aec6c98846405f06230def36f5ce6da8a2b.tar.gz
SGA-related changes.
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/extras.py b/lib/extras.py
index 7be08a6..3e264a0 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -76,6 +76,9 @@ class DictRow(list):
res.append((n, list.__getitem__(self, v)))
return res
+ def keys(self):
+ return self._cursor.index.keys()
+
class SQL_IN(object):