deno.com

interface Session

Methods #

#changeset(): Uint8Array

Retrieves a changeset containing all changes since the changeset was created. Can be called multiple times. An exception is thrown if the database or the session is not open. This method is a wrapper around sqlite3session_changeset().

#patchset(): Uint8Array

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().

#close(): void

Closes the session. An exception is thrown if the database or the session is not open. This method is a wrapper around sqlite3session_delete().