Computer Science, asked by ankitmaurya36, 6 months ago

Differentiate between fatchone() and fatchmany() method with suitable

example.​

Answers

Answered by mayanksaha9125
4

Answer:

fetchall() fetches all the rows of a query result. An empty list is returned if there is no record to fetch the cursor. fetchone() method returns one row or a single record at a time. It will return None if no more rows / records are available.

Answered by llAmyll
2

Answer:

  • fetchall() fetches all the rows of a query result. An empty list is returned if there is no record to fetch the cursor. fetchone() method returns one row or a single record at a time. It will return None if no more rows / records are available.

hope it helps you ❤️

Similar questions