KnowledgeBoat Logo

Computer Science

To fetch multiple records from the resultset, you may use <cursor>. …………… method.

  1. fetch()
  2. fetchmany()
  3. fetchmultiple()
  4. fetchmore()

Python MySQL

1 Like

Answer

fetchmany()

Reason — The <cursor>.fetchmany(<n>) method will return only the <n> number of rows from the resultset in the form of a tuple containing the records.

Answered By

2 Likes


Related Questions