Example of using an OR filter:
query projectFilterTest(
$workspaceUrl: String!
$name1: String
$name2: String
) {
desProjects(
workspaceUrl: $workspaceUrl
where: {or: [{name: {contains: $name1}}, {name: {contains: $name2}}]}
) {
nodes {
name
projectId
}
}
}Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article