Reply
Regular Contributor
baseball123
Posts: 16
0
Accepted Solution

Query Deleted Records in Java Project

I can query deleted records inside of SFDC debug window by adding "all rows" to the end of soql query. But when I run this soql query inside of my Java project, it gives me an error complaining the keyword "all rows". Can anyone tell me how to find the deleted records in SFDC from Java project? 

 

Thanks in advance,

Moderator
SimonF
Posts: 7,980
0

Re: Query Deleted Records in Java Project

You'd use the queryAll method, depending on exactly what you're trying to do there's also the getDeleted call (which returns much more comprehenive data than queryAll)

Cheers
Simon
docs | blog | twitter