-
-
Couldn't load subscription status.
- Fork 2
savepoint.rollbackClientPID()
Oxford Harrison edited this page Nov 15, 2024
·
1 revision
DOCS • API • Savepoint API
Get the Savepoint's rollback client PID. This returns the process ID/connection ID of the Linked QL client that performed last rollback operation (savepoint.rollback()).
See related ➞
savepoint.commitClientPID()
savepoint.rollbackClientPID(): string;// Which client rolled back savepoint?
const savepoint = await client.database('database_1').savepoint({ lookAhead: true });
console.log(savepoint.rollbackClientPID()); // '72776'