You can filter query results to find objects with one or more specified values using the in keyword.
The _in operator allows you to fetch objects based on if they contain a specific keyword.
The _nin (not in) operator allows you to fetch objects based on if they do not contain a specific keyword.
Both operators support all GraphQL data types.
The following tables displays examples and results of applying filters with _in and _nin operators. Some of the fields displayed are not mandatory and others have been omitted.
{
xtremMasterData {
customer {
query(filter: "{country:{language:{_nin:['French','English']}}}") {
edges {
node {
name
country {
name
language
}
}
}
}
}
}
}