equal
deleted
inserted
replaced
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 |