diff options
author | Frederick Muriuki Muriithi | 2024-04-17 02:40:03 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-17 02:40:03 +0300 |
commit | c316519b4b84f16234db2939a7c8544b33c0667d (patch) | |
tree | 73b8b74e7025c281a45bc08775efa39d63783887 /qc_app/jobs.py | |
parent | be7b9b0936f35de21e745b87d222a63100959ff7 (diff) | |
download | gn-uploader-c316519b4b84f16234db2939a7c8544b33c0667d.tar.gz |
Use `cursor.lastrowid` to get row identifier
Use the more robust `cursor.lastrowid` to get the row identifier
value, rather than using the `SELECT MAX(Id) …` form. With the
`cursor.lastrowid` form, we do not have to remember to add 1 to the
value to avoid conflict.
Diffstat (limited to 'qc_app/jobs.py')
0 files changed, 0 insertions, 0 deletions