PyDocs

Nav

Data Persistence

Connection.deserialize

sqlite3

method of Connection · Added in 3.11
  • Connection.deserialize(data, /, *, name='main')
Load a serialized database.

  data
    The serialized database content.
  name
    Which database to reopen with the deserialization.

The deserialize interface causes the database connection to
disconnect from the target database, and then reopen it as
an in-memory database based on the given serialized data.

The deserialize interface will fail with SQLITE_BUSY if the database
is currently in a read transaction or is involved in a backup
operation.
0 Examples
No examples for sqlite3/Connection.deserialize.
See Also
No see-alsos for sqlite3/Connection.deserialize
0 Notes
No notes for Connection.deserialize