pgtoolkit/pgmanager.py
changeset 80 b830c6f7b30a
parent 77 2cfef775f518
child 81 f709b1c7ca0c
equal deleted inserted replaced
79:d02a36d0a9b0 80:b830c6f7b30a
   145     def values(self):
   145     def values(self):
   146         return self._dict.values()
   146         return self._dict.values()
   147 
   147 
   148     def items(self):
   148     def items(self):
   149         return self._dict.items()
   149         return self._dict.items()
       
   150 
       
   151     def __repr__(self):
       
   152         return 'RowDict(%s)' % str(self._dict.items())
   150 
   153 
   151 
   154 
   152 class Cursor(psycopg2.extensions.cursor):
   155 class Cursor(psycopg2.extensions.cursor):
   153 
   156 
   154     def execute(self, query, args=None):
   157     def execute(self, query, args=None):