diff options
author | Frederick Muriuki Muriithi | 2025-05-19 10:19:55 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-05-19 10:26:29 -0500 |
commit | 2b03ca5772dd347d7fd8bd4d3a94ccca933861ec (patch) | |
tree | ae77c697858f1bc2597ac03004709970cadb1d59 /setup.py | |
parent | e6adace2f9302a01b796176b7016feb9fae3d351 (diff) | |
download | gn-uploader-2b03ca5772dd347d7fd8bd4d3a94ccca933861ec.tar.gz |
Pass Connection rather than Cursor: Transaction is maintained.
The idea is that all the data is saved to the database in a single transaction, rather than in bits that could lead to data inconsistencies. As it were, simply passing the connection object, and letting each function create its own cursor will still allow the transaction to be maintained and will not necessitate the refactor of multiple already existing functions.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions