You need to sign in to do that
Don't have an account?
sfnoob
Difference between getDeleted() and queryAll(isDeleted=true, systemtimerange)
- Is there any difference betwen getDeleted(timerange) vs queryAll(with filters isDeleted=true and timerange for systemmodtime)
- The documentation is Seriously confusing. There is an automatic purging process that can remove things from the delete log after the size increases or if deleted for > 30 days etc that seems to affect getDeletec() but how does queryAll() get affected? is it affected the same way?()
Why do I need to use getDeleted() over queryAll()? - query all also gives me all the fields notjust the id for example.
Thanks for any help.
queryAll will only return soft deleted rows, there are many ways for row to get hard deleted, and not all object types support soft deleted rows. getDeleted() still works though in all those cases.
All Answers
queryAll will only return soft deleted rows, there are many ways for row to get hard deleted, and not all object types support soft deleted rows. getDeleted() still works though in all those cases.
Thanks Simon, is there any documentation on what the soft deletes and the hard deletes are.