function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
hi,
I want to get some help in writing an SOQL query where the scenario is
i want the count of number of contacts where the account its related to have some field abc = true..
Have you seen the SOQL-R section of the docs, there's lot of samples.
select count() from contact where account.some_field__c=true
thanks simon i know its a easy one but my mind is not working actually i got this after i posted this but anyways thanks for the reply.
Have you seen the SOQL-R section of the docs, there's lot of samples.
select count() from contact where account.some_field__c=true
All Answers
Have you seen the SOQL-R section of the docs, there's lot of samples.
select count() from contact where account.some_field__c=true
thanks simon i know its a easy one but my mind is not working actually i got this after i posted this but anyways thanks for the reply.