fetchall() Fetches all (remaining) rows of a query result, returning a list. Note that the cursor’s arraysize attribute can
class sqlite3.Cursor A Cursor instance has the following attributes and methods.
text_factory Using this attribute you can control what objects are returned for the TEXT data type. By default
rollback() This method rolls back any changes to the database since the last call to commit().
Shelf.close() Synchronize and close the persistent dict object. Operations on a closed shelf will fail with a
marshal.dumps(value[, version]) Return the string that would be written to a file by dump(value, file). The value
commit() This method commits the current transaction. If you don’t call this method, anything you did since the last call to
isolation_level Get or set the current isolation level.
gdbm.nextkey(key) Returns the key that follows key in the traversal. The following code prints every key in the database
rowcount Although the Cursor class of the sqlite3 module implements this attribute, the database engine’s
Page 7 of 10