Print this page

Winter '15 - New Clause USING SCOPE values

Knowledge Article Number 000204543
Description
How can the new USING SCOPE SOQL clause be used?
Resolution
The new USING SCOPE clause for SOQL queries lets you limit results by filterScope.
 
SELECT column_name FROM table_name USING SCOPE filterScope_value
 
filterScope_value can take one of the following enumeration values: Everything, Mine, My_Territory, My_Team_Territory or Team.
 
Note: filterScope in SOQL is different than the filterScope used in Metadata API




promote demote