Skip to main content

Questions tagged [soql]

Salesforce Object Query Language (SOQL), modeled on SQL, for accessing information saved in the Salesforce database.

0 votes
0 answers
35 views

I need to fetch Person account records that have either atleast one active contract or one active billing unit(custom object with lookup to account) I am using below query to retrieve the records in ...
lalith anuroop's user avatar
0 votes
0 answers
26 views

For reference, we have been trying to figure out whether a user has access to a given object type. The SOQL query we have been using currently looks something like SELECT PermissionsRead FROM ...
Sooraj Srinivasan's user avatar
0 votes
1 answer
47 views

I have a custom object called Contracted Individual which has API Name Contracted_Individual__c. When I look in the Object Manager, I can see that there are some custom fields, one of which is ...
mankowitz's user avatar
  • 105
0 votes
1 answer
65 views

I am writing an api that runs two queries. I'd like to merge the results and return that. I can't figure how to make a new object that contains the data from the two merged sObjects. @RestResource(...
mankowitz's user avatar
  • 105
3 votes
1 answer
138 views

I have an Apex class receiving inbound data on a webhook. Class is running without sharing. Based on the inbound data, which includes a phone number, I'm running a SOSL query to find a matching ...
PatMcClellan__c's user avatar
0 votes
0 answers
39 views

We tried a variety of options for this big object 'ActivityFieldHistory'. Many failed attempts. We use this library https://github.com/jesperfj/force-rest-api to execute the following query. SELECT Id,...
Donutloop's user avatar
  • 101
0 votes
0 answers
61 views

Is there any existing Apex library or tool that can interpret a JSON structure and convert it into a SOQL query automatically? Ideally, something that can take input like this (this is a simple ...
nica's user avatar
  • 1,402
2 votes
1 answer
141 views

I want to optimize my soql query which is currently like select id,…… From FeedItem Where Id > ‘…’ AND IsDeleted = False Order by Id LIMIT 64000 After this query it takes the 64000th id in above ...
FrozaHorizon's user avatar

15 30 50 per page
1
2 3 4 5
401