The Session class for recording database changes. This class should not be instantiated directly; use DatabaseSync.createSession() instead.
const session = db.createSession({ table: 'users' });// Make some changes to the users tableconst changeset = session.changeset();session.close(); Copy
const session = db.createSession({ table: 'users' });// Make some changes to the users tableconst changeset = session.changeset();session.close();
The Session class for recording database changes. This class should not be instantiated directly; use DatabaseSync.createSession() instead.