about summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-19 10:19:55 -0500
committerFrederick Muriuki Muriithi2025-05-19 10:26:29 -0500
commit2b03ca5772dd347d7fd8bd4d3a94ccca933861ec (patch)
treeae77c697858f1bc2597ac03004709970cadb1d59 /setup.py
parente6adace2f9302a01b796176b7016feb9fae3d351 (diff)
downloadgn-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