function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mruselessmruseless 

Queries using "OR"?

Let's say I would like to use SForce Connector to query for all contacts associated with 2 different accounts. Is there a way to do this with a single query?

 

For example, "AccountID like Amgen OR Pfizer"?

john8407john8407

Just query the Contact table and use Account ID equals xxxxxxxxxx,xxxxxxxxxxx

 

enter the two account IDs where I placed the x's.