LastInsertId returns the integer generated by the database
in response to a command. Typically this will be from an
"auto increment" column when inserting a new row. Not all
databases support this feature, and the syntax of such
statements varies.
Returns number
rowsAffected
rowsAffected(): number
RowsAffected returns the number of rows affected by an
update, insert, or delete. Not every database or database
driver may support this.
A Result summarizes an executed SQL command.