No products in the cart.

Differentiate between fetchall() and fetchone() using …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Differentiate between fetchall() and fetchone() using suitable examples of each.
  • 1 answers

Sia ? 2 years, 11 months ago

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.

http://mycbseguide.com/examin8/

Related Questions

What is the function of def()?
  • 1 answers
Import math ceil
  • 1 answers
Whate is global scope
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App