torndb
torndb copied to clipboard
DictCursor can be used in query
[Row(itertools.izip(column_names, row)) for row in cursor]
The DictCursor returns rows as dictionaries and stores the result set in the client.
http://mysql-python.sourceforge.net/MySQLdb.html