docs icon indicating copy to clipboard operation
docs copied to clipboard

Document the behavior of OR — it doesn't work with column filters

Open PaulRBerg opened this issue 7 months ago • 1 comments

References:

  • https://github.com/graphprotocol/graph-node/issues/6040
  • https://github.com/graphprotocol/graph-node/issues/6041

PaulRBerg avatar May 29 '25 14:05 PaulRBerg

It appears that it is possible to nest an or object under an and:

where: {
  and: [
    { age_gt: 21 },
    {
      or: [
        { status: "active" },
        { status: "review" },
      }
    }
  }
}

PaulRBerg avatar May 30 '25 12:05 PaulRBerg