lastinsertid

[1/1]

  1. PostgreSQL: Last Inserted ID with INSERT RETURNING and CURRVAL
    Using INSERT RETURNING:This is the preferred approach. When you perform an INSERT statement, you can add the RETURNING clause to specify columns you want to retrieve after the insert