Similar to the method above, but generates a more compact patchset. See Changesets and Patchsets in the documentation of SQLite. An exception is thrown if the database or the session is not open. This method is a wrapper around sqlite3session_patchset().
method
sqlite.Session.patchset
@returns
Binary patchset that can be applied to other databases.