Explanation: 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.
Q. insertId attribute returns
β
Correct Answer: (B)
row id
Explanation by: Mr. Dubey
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.
Discussion
Question Analytics
682
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
87%
Success Rate