Differentiate between fatchone() and fatchmany() method with suitable
example.
Answers
Answered by
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
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
English,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Science,
6 months ago
Computer Science,
6 months ago
Physics,
11 months ago
Physics,
11 months ago
Math,
11 months ago