-
-
Notifications
You must be signed in to change notification settings - Fork 2
savepoint.commitClientPID()
Oxford Harrison edited this page Nov 15, 2024
·
1 revision
DOCS • API • Savepoint API
Get the Savepoint's commit client PID. This returns the process ID/connection ID of the Linked QL client that performed the original DDL operation, or if having been rolled back and recommitted, of the Linked QL client that performed last recommit operation (savepoint.recommit()
).
See related ➞
savepoint.rollbackClientPID()
savepoint.commitClientPID(): string;
// Which client rolled back savepoint?
const savepoint = await client.database('database_1').savepoint();
console.log(savepoint.commitClientPID()); // '72776'