Skip to content
Commit 97b03745 authored by Daniel Kesselberg's avatar Daniel Kesselberg Committed by Backportbot
Browse files

Fetch lastInsertId only when id null



When id column has no autoincrement flag query for lastInsertId fails
on postgres because no value has been generated. Call lastInsertId only
if id is null.

Signed-off-by: default avatarDaniel Kesselberg <mail@danielkesselberg.de>
parent 424fc68d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment