GraphQL logical "AND" through an array

System Information
  • Strapi Version: 3.4.3
  • Operating System: Linux (Ubuntu)
  • Database: MySQL
  • Node Version: 10+
  • NPM Version: 6+
  • Yarn Version: -

The “_in” suffix allows us to filter an array of items with an implicit OR.
For example, if I have a collection called “Hotel” and the hotel has a collection type of facilities, e.g. [“Spa”, “Restaurant”, “Cafe”]

Using the _in suffix, I can fetch all hotels with a Spa OR a Restaurant OR a Cafe.
Is there any way to fetch all hotels with a Spa AND a Restaurant AND a Cafe?

I tried using the _eq and the _contains suffix, but they give exactly the same result as the _in suffix. It would be really helpful if there was a way to specify that all parameters must be present for the result to be valid.

Thank you.

We do have documentation for REST but not currently for GraphQL, see: https://strapi.io/documentation/developer-docs/latest/content-api/parameters.html#and-operator

Could you please open up a documentation request on: GitHub - strapi/documentation: Strapi Documentation mono-repo