Issue in writing multiple AND / OR conditions in graphQL query filters | Community
Skip to main content
Level 2
May 27, 2024
Question

Issue in writing multiple AND / OR conditions in graphQL query filters

  • May 27, 2024
  • 0 replies
  • 542 views

I need to get the content fragment response with different AND OR logical combinations in graphQL

Example : 

 Return CF response when the below condition matches 

(Language = english) AND (((countryOrigin =  IN) AND (countryDestination = US)) OR ((countryOrigin = " ") AND (countryDestination = AU)) OR ((countryOrigin = JP) AND (countryDestination = " "))) AND (startDate >= 01/02/2024) AND (endDate <= 03/04/2024)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.