soql
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sharing rules or implicit filters are limiting visibility.
Problem Explanation
SOQL respects sharing, object permissions, and query filters unless explicitly overridden.
Root Cause(s)
1. with sharingApex class2. Private org-wide defaults
3. Implicit date or owner filters
Step-by-Step Solution
1. Check class sharing declaration
2. Verify org-wide defaults
3. Run query as affected user
Edge Cases & Variations
1. Reports may show more due to running user
2. System context applies only in Apex
Common Mistakes to Avoid
1. Testing only as admin
2. Assuming full data access