Use sqlite3.Row factory in Flaskr
Before adoption: this commit came in with the history the project adopted, so no landing records it.
As pointed out in issue #588 sqlite3.Row should be used instead of using casting to dict(). Also altered the "Easy Querying" Patterns example to include the more correct way to return rows as dicts. Did not touch Tutorial examples ("Views"), as these are not up to date with the current Flaskr code, and the "Show Entries" section points out the "Easy Querying" section on how to convert to a dict().
authored by Gennady Kovshenin · committed by Gennady Kovshenin · parent 2b885ce · Browse files · 2 files+9 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+9 added−2 removed
- other:+9 added−2 removed