Disjunctive/OR queries via the typescript bindings

Is it possible to use an OR statement in a filter via the typescript bindings?

object: `() => ({country.state: "yourstate1" OR "yourstate2", city: "yourcity"})`
1 Like

In the non-streaming endpoints there is currently no option for disjunctive queries so you have to query multiple times and combine the queries on the client side.

For the streaming endpoints, you can pass in a list of queries and the result will include any contracts matching at least one of those queries which allows you to express your example above.

1 Like