aboutsummaryrefslogtreecommitdiff
path: root/qc_app/db/populations.py
AgeCommit message (Expand)Author
2024-02-02Bug: 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. Frederick Muriuki Muriithi
2024-01-08Extract common database functions into a separate package.Frederick Muriuki Muriithi