-
insertId attribute returns ____________.
-
- database ID
- user’s ID
- column ID
- row ID
- None of these
Correct Option: D
insertId attribute returns the row ID of the row of the inserted SQLResultSet object’s SQL statement that is inserted into the database. If multiple rows are inserted then the ID of the last row will be returned. If there is no row then INVALID_ACCESS_ERR exception will be raised.