SFDO-Community / declarative-lookup-rollup-summaries

Declarative Lookup Rollup Summaries (DLRS) is a community built and maintained Salesforce application that allows you to create cross object roll-ups declaratively - no code! For install instructions and documentation, visit our website https://sfdo-community-sprints.github.io/DLRS-Documentation/
https://sfdo-community-sprints.github.io/DLRS-Documentation/
BSD 3-Clause "New" or "Revised" License
690 stars 235 forks source link

Question: If using only Custom MDT-based Rollups, is it possible to avoid queries of config sObjects? #528

Closed jclark-dot-org closed 3 months ago

jclark-dot-org commented 7 years ago

In a new org with only Custom MDT-based rollups, it appears that DLRS still queries the sObject-based config in Lookup Rollup Summary object. Is it possible to configure DLRS to ignore all sObject-based config and only look at Custom MDT rollups? It would reduce the number of SOQL queries in complex testing scenarios.

afawcett commented 7 years ago

Its not possible, but, i guess we could add a custom metadata/object setting for this easily. I'll flag this as an enhancement. Would be a pretty easy change to the selector class methods tbh.

aheber commented 3 months ago

Recent changes caused sObject records to only be checked once during a transaction instead of multiple times, drastically reducing SOQL usage in the extreme cases. I think we're going to leave it like this until we are able to fully deprecate the sObject configurations.