You need to sign in to do that
Don't have an account?
Plainview
Need to make a query selective.
I am new to Apex and need to add an index filter.
The query in question:
"List<Account> leadAccountIds=Select Id, OwnerId, Name FROM Account WHERE Name IN: companies;"
Seeking some syntax advice.
Thanks!
The query in question:
"List<Account> leadAccountIds=Select Id, OwnerId, Name FROM Account WHERE Name IN: companies;"
Seeking some syntax advice.
Thanks!
https://help.salesforce.com/apex/HTViewSolution?urlname=How-can-I-make-my-SOQL-query-selective-And-the-process-to-determine-the-fields-that-can-be-custom-indexed&language=en_US
Thanks