crud-service icon indicating copy to clipboard operation
crud-service copied to clipboard

Query parameter should accept lists of values

Open TheRusCompass opened this issue 2 years ago • 0 comments

t would be nice to have the query parameters (e.g. for get list API) supporting multiple values. For instance suppose you want to get two documents with _id 1234 and 5678, it would be nice to invoke the API like this

/?_id=1234,5678

instead of using the _q param

/?_q={"_id":{"$in":["1234","5678"]}}

TheRusCompass avatar Feb 06 '23 17:02 TheRusCompass