In apex, I can write a query like:
[select id from contact where accountid in:accountIdSet]
If I use the Soap Api to do a query in external application(.Net), how can I do the same thing?
I know the Soql query length limit is 20000, if I build a query dynamically in the external application, it's very possible I pass the limit.
The only option I can think of now is to query more than once. Is there a better solution?