Skip to Content
0
Oct 14 at 11:08 AM

CAP CDS NodeJS limit result of query in on("READ") handler

147 Views Last edit Oct 15 at 08:51 AM 3 rev

Hello everyone,

we have a cap in nodejs that, at the user access, the main entity must be filtered based on user profile (a data from SF).

To achieve this we filtered the query result in on("READ") handler but we realized that the query is limited to 20 records but there are many others in table.

Is there a way to get all records of the entity and not only the first 20?

Below the code

Thank you

Kind regards

Claudio

Attachments

top20.jpg (27.3 kB)
code.png (313.2 kB)