-
Which attribute is used for getting an individual row?
-
- rowAffected
- length
- results.rows.item(i)
- insertId
- None of these
Correct Option: C
For getting individual row results.rows.item(i) is used, i denotes the index of the row. It will return the object representation of the row. insertId returns row id but in case of multiple rows, it returns the id of the last row.