Skip to content

Commit 3d3fc0f

Browse files
committedJul 8, 2017
added citation
1 parent dc148b4 commit 3d3fc0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/cs50/sql.py

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def process(value):
125125
if re.search(r"^\s*SELECT", statement, re.I):
126126

127127
# coerce any decimal.Decimal objects to float objects
128+
# https://groups.google.com/d/msg/sqlalchemy/0qXMYJvq8SA/oqtvMD9Uw-kJ
128129
rows = [dict(row) for row in result.fetchall()]
129130
for row in rows:
130131
for column in row:

0 commit comments

Comments
 (0)
Please sign in to comment.