From 5fd0b5790ee4571426c49c287ec971b9d672b50f Mon Sep 17 00:00:00 2001 From: kulliax <116072312+kulliax@users.noreply.github.com> Date: Wed, 6 Aug 2025 06:07:33 +0000 Subject: [PATCH] add forUpdate(ignoreLocked) --- node.js/cds-ql.md | 1 + 1 file changed, 1 insertion(+) diff --git a/node.js/cds-ql.md b/node.js/cds-ql.md index f3281d9d9..d6edba086 100644 --- a/node.js/cds-ql.md +++ b/node.js/cds-ql.md @@ -686,6 +686,7 @@ try { The `options` argument is optional; currently supported is: * `wait` — an integer specifying the timeout after which to fail with an error in case a lock couldn't be obtained. The time unit is database-specific. On SAP HANA, for example, the time unit is seconds. A default `wait` value that is used if `options.wait == null` can be specified via cds.sql.lock_acquire_timeout: -1. A value of `-1` can be used to deactivate the default for the individual call. If the wait option isn't specified, the database-specific default behavior applies. +* `ignoreLocked` — a Boolean value that specifies that all selected lines that cannot be locked immediately are skipped.. All acquired locks are released when the current transaction is finished, that is, committed or rolled back.