SOQL Query with ALL ROWS / using queryAll API / like 'sf data query --all-rows' / or like "Add deleted records" checkbox in Salesforce Inspector
17 views
Skip to first unread message
Roko Pancirov
unread,
Apr 9, 2024, 5:02:37 AMApr 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Illuminated Cloud Q&A
Hi all,
I would like to run a SOQL query and get results that include deleted/archived/merged records.
In (anonymous) APEX this is done with including the 'ALL ROWS' in the query.
When using the API, if I understand correctly, it is the `queryAll` endpoint instead of the `query` endpoint (/services/data/vXX.X/queryAll?q=query)
The sfdx command has a flag for this: `sf data query --all-rows`
Salesforce Inspector provides a checkbox on the export screen ("Add deleted records?")
I assume I just cannot find this option, so where is it hiding? Or is there no such feature in Illuminated Cloud?
Thanks,
Roko
Scott
unread,
Apr 9, 2024, 10:42:00 AMApr 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Illuminated Cloud Q&A, Roko Pancirov
Hi. No, you're not missing anything. That option isn't available...right now. I've actually added it for inclusion in the next released build, though, as a peer to the current "Use Tooling API" option for the current SOQL Query tab.
Regards,
Scott Wells
Roko Pancirov
unread,
Apr 9, 2024, 12:40:47 PMApr 9
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Illuminated Cloud Q&A, Scott, Roko Pancirov
What a coincidence :) Amazing, thank you, looking forward to the next release!