4.1. Database API

4.1.1. Rationale

  • DB API v2

sqlite3.connect(...) -> connection

connection.execute(...) -> result
connection.executemany(...) -> list[result]
connection.fetchmany(...) -> list[result]
connection.fetchone(...) -> result
connection.cursor(...) -> cursor