diff options
| author | Frederick Muriuki Muriithi | 2024-02-02 05:17:50 +0300 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2024-02-02 05:17:50 +0300 |
| commit | 2b8fd63af18e70b4c8c20a34a6dfa041e8a832b9 (patch) | |
| tree | 26276f08f6059e0b649a7ab55511622c93203a14 /qc_app/templates/select_dataset.html | |
| parent | 07deef46a3f3ba53cc632a9381fb25c55e1017b1 (diff) | |
| download | gn-uploader-2b8fd63af18e70b4c8c20a34a6dfa041e8a832b9.tar.gz | |
Bug: Specify DictCursor class to return dict-like result
Without specifying the `cursorclass`, the result is a tuple of the
form:
((query_col01_val, query_col02_val, ...), ...)
where the ellipsis specify the possibility of more than one of the
previous form.
We specify the DictCursor class instead so that the form changes to:
({query_col01_name: query_col01_val, ...}, ...)
which allows us to pick the value we want with a string index.
Diffstat (limited to 'qc_app/templates/select_dataset.html')
0 files changed, 0 insertions, 0 deletions
