You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run the following query, I get all tokens with that match the attribute filter {traitType: "Eyes", value: "classic"}or{traitType: "Hat", value: "strawberry hat"}. Is there a way to filter using complicated logic? For example, a way to get tokens that match both attributes (intersection of sets rather than union)? I tried using the standard and, or, and not operators from GraphQL but couldn't figure out how to pass them to the tokens query.
@rodrigoescandon I believe we can add this but it'll require some custom query logic on our end. I believe one issue with more complex nested logic is the query load could get quite high without collection filter (say all tokens owned by someone that owns 11k tokens with a nested and or and not filter etc). Can see how this will be useful and will bring it up to the team.
If I run the following query, I get all tokens with that match the attribute filter
{traitType: "Eyes", value: "classic"}
or{traitType: "Hat", value: "strawberry hat"}
. Is there a way to filter using complicated logic? For example, a way to get tokens that match both attributes (intersection of sets rather than union)? I tried using the standardand
,or
, andnot
operators from GraphQL but couldn't figure out how to pass them to the tokens query.The text was updated successfully, but these errors were encountered: