on 2021 Dec 14 2:58 PM
Hi,
we are using SAP CAP but when I want to use an IN clause in a $filter variable so like:
http://localhost:4004/v1/api/SomeEntity?$filter=myId in ('0001','0002')
I get:
<error xmlns="http://docs.oasis-open.org/odata/ns/metadata">
<code>400</code>
<message>The type 'Edm.String' is not compatible to 'Edm.Boolean'</message>
</error>
Does CAP support the IN clause in a filter?
Hi ramondb ,
This is not supported yet, but we're already working on it (CAP Node.js).
Best regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
Unfortunately I can't give a timeline because this feature will be released together with many others, and it's unclear when this will happen.
But with every release we provide a list of changes: https://cap.cloud.sap/docs/releases/
Best regards,
David
david.kunz2
Hi David,
from release changelog Aug22, the "IN" filter functionality should be available, now.
Using new cap cds version 6.4.1 still shows the same error message like initially mentioned in this forum:
The type 'Edm.String' is not compatible to 'Edm.Boolean'
It seems that nothing has changed yet. Do you have any update for us?
Thanks. BR Reza
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.