pgtoolkit/pgmanager.py
changeset 45 6d8e4ee4bdd2
parent 43 a921669e913a
child 46 037410ef2b6b
equal deleted inserted replaced
44:4fe39c59c515 45:6d8e4ee4bdd2
   102         self.keep_alive = keep_alive
   102         self.keep_alive = keep_alive
   103         self.init_statement = init_statement
   103         self.init_statement = init_statement
   104         self.pool_size = pool_size
   104         self.pool_size = pool_size
   105 
   105 
   106 
   106 
   107 class RowDict(OrderedDict):
   107 class RowDict:
   108     """Special read-only dictionary used for rows returned from queries.
   108     """Special read-only dictionary used for rows returned from queries.
   109 
   109 
   110     Initialization is same as for dict:
   110     Initialization is same as for dict:
   111         row = RowDict([('id', 123), ('name', 'hello')])
   111         row = RowDict([('id', 123), ('name', 'hello')])
   112 
   112