Skip to content

Glossary: Python Beyond the Basics

fetchall / executemany

Also written: fetchall, fetchall(), executemany

`fetchall()` returns all rows from a query as a list of tuples. `executemany` runs one SQL command once for each tuple in a list.

Where the book teaches it

Related terms

SQLiteSQL (Structured Query Language)