TIL python sqlite3 cursor objects are iterable, was always calling fetchone one by one 😭 (or fetchmany)