diff --git a/node.js/cds-ql.md b/node.js/cds-ql.md index 8bfeebfa9..29d60d361 100644 --- a/node.js/cds-ql.md +++ b/node.js/cds-ql.md @@ -674,6 +674,19 @@ If a queried record is already exclusively locked by another transaction, the `. +### hints() {.method} + +Passes hints to the database query optimizer that can influence the execution plan. The hints can be passed as individual arguments or as an array. + + +```js +SELECT ... .hints ('IGNORE_PLAN_CACHE') +SELECT ... .hints ('IGNORE_PLAN_CACHE', 'MAX_CONCURRENCY(1)') +SELECT ... .hints (['IGNORE_PLAN_CACHE', 'MAX_CONCURRENCY(1)']) +``` + + + ## INSERT {.class}