persistent_id(obj) Do nothing by default. This exists so a subclass can override it. If
fetchmany(size=cursor.arraysize) Fetches the next set of rows of a query result, returning a list. An empty list is returned
dumbdbm.close() Close the dumbdbm database.
object.__getstate__() Classes can further influence how their instances are pickled; if the class defines the method
iterdump() Returns an iterator to dump the database in an SQL text format. Useful when saving an in-memory database for later
gdbm.close() Close the gdbm database.
class shelve.DbfilenameShelf(filename, flag='c', protocol=None, writeback=False) A subclass of Shelf which accepts
gdbm.nextkey(key) Returns the key that follows key in the traversal. The following code prints every key in the database
fetchall() Fetches all (remaining) rows of a query result, returning a list. Note that the cursor’s arraysize attribute can
executemany(sql, seq_of_parameters) Executes an SQL command against all parameter sequences or mappings found in the sequence
Page 6 of 10