pickle.Pickler.persistent_id()
  • References/Python/Python/Data Persistence

persistent_id(obj) Do nothing by default. This exists so a subclass can override it. If

2025-01-10 15:47:30
sqlite3.Cursor.fetchmany()
  • References/Python/Python/Data Persistence

fetchmany(size=cursor.arraysize) Fetches the next set of rows of a query result, returning a list. An empty list is returned

2025-01-10 15:47:30
dbm.dumb.dumbdbm.close()
  • References/Python/Python/Data Persistence

dumbdbm.close() Close the dumbdbm database.

2025-01-10 15:47:30
object.
  • References/Python/Python/Data Persistence

object.__getstate__() Classes can further influence how their instances are pickled; if the class defines the method

2025-01-10 15:47:30
sqlite3.Connection.iterdump()
  • References/Python/Python/Data Persistence

iterdump() Returns an iterator to dump the database in an SQL text format. Useful when saving an in-memory database for later

2025-01-10 15:47:30
dbm.gnu.gdbm.close()
  • References/Python/Python/Data Persistence

gdbm.close() Close the gdbm database.

2025-01-10 15:47:30
shelve.DbfilenameShelf
  • References/Python/Python/Data Persistence

class shelve.DbfilenameShelf(filename, flag='c', protocol=None, writeback=False) A subclass of Shelf which accepts

2025-01-10 15:47:30
dbm.gnu.gdbm.nextkey()
  • References/Python/Python/Data Persistence

gdbm.nextkey(key) Returns the key that follows key in the traversal. The following code prints every key in the database

2025-01-10 15:47:30
sqlite3.Cursor.fetchall()
  • References/Python/Python/Data Persistence

fetchall() Fetches all (remaining) rows of a query result, returning a list. Note that the cursor’s arraysize attribute can

2025-01-10 15:47:30
sqlite3.Cursor.executemany()
  • References/Python/Python/Data Persistence

executemany(sql, seq_of_parameters) Executes an SQL command against all parameter sequences or mappings found in the sequence

2025-01-10 15:47:30