Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support full FOR UPDATE [ OF <update_column_name_list> ] [ { <wait_nowait> | IGNORE LOCKED } ] syntax #917

Open
kulliax opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kulliax
Copy link

kulliax commented Nov 26, 2024

At the moment, CQ(L|N) (officially) only supports FOR UPDATE <wait_nowait>.

Also implemented is OF <update_column_name_list>, but this has not been implemented in cds-types, see cap-js/cds-types#336

However, IGNORE LOCKED is not implemented, which we really miss. Can this function also be implemented in CQ(L|N)?
With cds.db.run we can execute our own queries, it is more elegant and nicer if this DB native function is supported.

Docu:
hana: https://help.sap.com/docs/hana-cloud-data-lake/sql-reference-for-data-lake-relational-engine-sap-hana-db-managed/select-statement-for-sap-hana-database
pgsql: https://www.postgresql.org/docs/current/sql-select.html with better explanation

First request: cap-js/cds-types#331

@patricebender patricebender added the enhancement New feature or request label Nov 28, 2024
@kulliax
Copy link
Author

kulliax commented Feb 11, 2025

Hi @johannes-vogel , Is there any progress or are there still open issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants