New topic Closed topic
avatar image
1
How to filter a collection with string array?
By Created , last editted

From a POST-endpoint we want to retrieve a collection of documents filtered with a string array:

Document model:
- ID
- Name
- PDF file
- Type (GZ, VO, VN, SF)

With checkboxes we can select one or more of the above types (GZ, VO, VN, SF). How  can we filter the collection based on a string array? ['GZ', 'VN']?


From a POST-endpoint we want to retrieve a collection of documents filtered with a string array:

Document model:
- ID
- Name
- PDF file
- Type (GZ, VO, VN, SF)

With checkboxes we can select one or more of the above types (GZ, VO, VN, SF). How  can we filter the collection based on a string array? ['GZ', 'VN']?

Answers
Sort by:

This topic is closed.