Python_Institute
PCPP-32-101 · Question #82
You need to fetch all records from a database using sqlite3. Which method should you use after executing the query?
The correct answer is B. fetchall(). You've hit your limit · resets 5am (America/New_York)
Databases
Question
You need to fetch all records from a database using sqlite3. Which method should you use after executing the query?
Options
- Afetchone()
- Bfetchall()
- Cfetchmany()
- Dgetrows()
How the community answered
(27 responses)- B93% (25)
- C4% (1)
- D4% (1)
Explanation
You've hit your limit · resets 5am (America/New_York)
Topics
#sqlite3#fetchall#cursor methods#query results
Community Discussion
No community discussion yet for this question.