Q. Which attribute is used for getting an individual row?

  • (A) results.rows.item(i)
  • (B) insertid
  • (C) rowaffected
  • (D) length
πŸ’¬ Discuss
βœ… Correct 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.

Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
941
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate