Open GoogleCodeExporter opened 9 years ago
This is a good idea, will have to add this when I get the chance.
Original comment by dam...@gmail.com
on 27 Mar 2011 at 2:43
Example using as concept:
curs = conn.cursor(as_tuple=CustomerType)
curs.execute(...)
for customer for curs:
print customer.name
Or
curs = conn.cursor(as_dict=UserDictType)
curs.execute(...)
for row for curs:
print row[name]
Original comment by tonal.pr...@gmail.com
on 3 Jun 2011 at 9:44
Attachments:
I change and debug concept.
Example using:
curs = conn.cursor(row_constr=CustomerType)
curs.execute(...)
for customer for curs:
print customer.name
Or
curs = conn.cursor(as_dict=true)
curs.execute(...)
for row for curs:
print row[name]
Or
curs = conn.cursor(as_dict=true, row_constr=CustomDictType)
curs.execute(...)
for row for curs:
print row[name]
Original comment by tonal.pr...@gmail.com
on 28 Jun 2011 at 8:44
Attachments:
Original comment by rsyr...@gmail.com
on 8 Mar 2012 at 3:26
Original comment by msabr...@gmail.com
on 7 Aug 2013 at 1:52
Original comment by msabr...@gmail.com
on 7 Aug 2013 at 1:53
Original comment by msabr...@gmail.com
on 23 Sep 2013 at 10:01
Original issue reported on code.google.com by
dunde...@gmail.com
on 25 Mar 2011 at 4:47