Is there any way to get the results from a fetchall() as a dictionary using pymysql?
Use a DictCursor in the cursor() method.