How to do a where clause in graphql?

I want to query the companies "where" opportunities are in a stage of either meeting or proposal or customer. I am currently fetching all results and then filtering using js. However, since we receive only 30 results in one go, it skips several results. What is the way to write a query to fetch all relevant results?
1 Reply
thomast
thomast2mo ago
Hi @arnavsaxena, are you using graphql or rest? The 30 results are the default limit. If you use graphql, you could increase this limit in the query and then you filter using JS. But the cleanest would probably be to use nested filtering on the opportunities themselves. @arnavsaxena closing this one since you have another conversation opened
Want results from more Discord servers?
Add your server