Skip to content
Unverified Commit 21b80a89 authored by Daniel Kesselberg's avatar Daniel Kesselberg Committed by Roeland Jago Douma
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 027f69df
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