Q.

Which attribute is used for getting an individual row?

A. results.rows.item(i)
B. insertid
C. rowaffected
D. length
Answer» A. results.rows.item(i)
Explanation: 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.
1.5k
0
Do you find this helpful?
5

Discussion

No comments yet