executeUpdateAndRetrieveKeys

Execute the given SQL string (typically an insert statement), then return the effected row count along with the generated keys.

Since

2.7

Return

a Pair combines the effected row count and the generated keys.

Parameters

database

the database instance executing the statement.

sql

the formatted SQL statement.

args

the arguments to be provided to the statement.