Rule ID #
SF-AVOID-NON-RESTRICTIVE-QUERIES
Impact #
Unfiltered queries can retrieve excessive data, potentially causing governor limit exceptions and negatively impacting application stability.
Remediation #
Apply appropriate filters to SOQL or SOSL queries to limit the amount of data retrieved.
Time to fix
30 min