sqlite.begin(dbname)

Start a transaction in the given database. It is more efficient to insert many rows in the same transaction instead of relying on autocommit after each row.