aboutsummaryrefslogtreecommitdiff
path: root/r_qtl/__init__.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-02 05:17:50 +0300
committerFrederick Muriuki Muriithi2024-02-02 05:17:50 +0300
commit2b8fd63af18e70b4c8c20a34a6dfa041e8a832b9 (patch)
tree26276f08f6059e0b649a7ab55511622c93203a14 /r_qtl/__init__.py
parent07deef46a3f3ba53cc632a9381fb25c55e1017b1 (diff)
downloadgn-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 'r_qtl/__init__.py')
0 files changed, 0 insertions, 0 deletions