2022 Feb 11 1:25 PM
Hi,
Does anyone know how to make an entity not filterable in CDS?
This is my entity:
entity Book { key id: UUID; name: String(100); author: String(200); numberPages: Integer; price: Decimal(6,2);}
This is my service:
entity Book as select from db.Book;
There is any kind of annotation like @readonly that disable all oData default filters? There is another way to do it different of any function?
Thanks
Hi,
Does anyone know how to make an entity not filterable in CDS?
This is my entity:
entity Book { key id: UUID; name: String(100); author: String(200); numberPages: Integer; price: Decimal(6,2);}
This is my service:
entity Book as select from db.Book;
There is any kind of annotation like @readonly that disable all oData default filters? There is another way to do it different of any function?
Thanks
2022 Feb 13 8:41 PM
I'm no CAP expert so I can't answer the question as you asked it, but from a pure OData perspective I wonder if you can clarify why you would want to do this?
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |