aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-04-17 02:40:03 +0300
committerFrederick Muriuki Muriithi2024-04-17 02:40:03 +0300
commitc316519b4b84f16234db2939a7c8544b33c0667d (patch)
tree73b8b74e7025c281a45bc08775efa39d63783887 /scripts
parentbe7b9b0936f35de21e745b87d222a63100959ff7 (diff)
downloadgn-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 'scripts')
0 files changed, 0 insertions, 0 deletions