Home » HTML » Html miscellaneous » Question
  1. Which attribute is used for getting an individual row?
    1. rowAffected
    2. length
    3. results.rows.item(i)
    4. insertId
    5. 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.



Your comments will be displayed only after manual approval.