New answers tagged dynamic-soql
0
votes
See what objects ContentDocument is linked to and get the count per objects
You can try this (may get Timed out if you have huge data)
SELECT COUNT(Id), LinkedEntity.Type FROM ContentDocumentLink
WHERE ContentDocumentId IN (SELECT Id FROM ContentDocument ) GROUP BY ...
Top 50 recent answers are included
Related Tags
dynamic-soql × 496soql × 309
apex × 300
visualforce × 42
query × 41
soql-injection × 21
batch × 19
dynamic-apex × 19
trigger × 17
sosl × 17
dynamic-visualforce × 11
dynamic-binding × 11
governorlimits × 10
sobject × 9
schema × 9
lightning-web-components × 7
community × 7
list × 7
database × 7
describesobject × 7
aggregate × 7
relationships × 6
customsetting × 6
string × 6
lightning-aura-components × 5