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.
Glossary: Python Beyond the Basics
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.