Skip to content

Commit ab0a8da

Browse files
author
James William Pye
committed
pq3 implements column() now.
1 parent ec0d028 commit ab0a8da

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

postgresql/lib/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,18 +290,13 @@ def __init__(self, symbol, database):
290290
m = symbol.method
291291
if m is None:
292292
self.method = ps.__call__
293-
elif m == 'column':
294-
self.method = self._first_column
295293
else:
296294
self.method = getattr(ps, m)
297295
self.object = ps
298296

299297
def __call__(self, *args, **kw):
300298
return self.method(*args, **kw)
301299

302-
def _first_column(self, *args, **kw):
303-
return map(get0, self.object.rows(*args,**kw))
304-
305300
class Binding(object):
306301
"""
307302
Interface to a library bound to a database(connection).

0 commit comments

Comments
 (0)