Expand my Community achievements bar.

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

Avatar

Level 2

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)

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies