3 weeks ago
Hi experts,
I want to delete the records of an entity by passing it a QueryOptions but I get the following error
delete entity error Params: {"service":{"entitySet":"Prueba","queryOptions":"$filter=idPrueba%20eq%20'f0deb6df'"}} Error: The query should have returned only one entity. It returned 2
Request clarification before answering.
In MDK delete entity only acts on a single entity. You will need to use a rule and loop over the list of items calling delete entity for each one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
52 | |
10 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.