Home / Engineering / Information Retrival Techniques / Question

M

Mr. Dubey • 51.43K Points
Coach

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

(A) results.rows.item(i)
(B) insertid
(C) rowaffected
(D) length
Correct answer : Option (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.

Share

Discusssion

Login to discuss.