#830: dbquery: run_sql() should optionally return list-of-dictionaries
--------------------------+----------------------
Reporter: simko | Owner: rajimene
Type: enhancement | Status: closed
Priority: major | Milestone:
Component: MiscUtil | Version:
Resolution: fixed | Keywords:
--------------------------+----------------------
Changes (by Raquel Jimenez Encinar <raquel.jimenez.encinar@…>):
* status: in_merge => closed
* resolution: => fixed
Comment:
In [95e3d250ee142a73ac64c1be66a7222d330206f3]:
{{{
#!CommitTicketReference repository=""
revision="95e3d250ee142a73ac64c1be66a7222d330206f3"
dbquery: add option with_dict to run_sql()
* Enriches run_sql() with a new option called
with_dict that returns directly list-of-dictionaries
instead of tuple-of-tuples. (closes #830)
* Adds 4 regression test cases.
* Changes with_desc parameter type from integer to boolean
in run_sql and run_sql_with_limit in order to
keep coherence with the with_dict parameter.
* Updates miscutil-dbquery.webdoc.
}}}
--
Ticket URL: </ticket/830#comment:4>
Invenio <http://invenio-software.org>