问题
I am new to salesforce and I want to view my table names. Is there any SOQL query to fetch all tables or I have to check from the salesforce dashboard. In any case please help me to get all table names. And if you guide me to view field names, I shall be very thankful I have checked some answers on StackOverflow but unable to find anything helpful.
回答1:
EntityDefinition is a decent start (experiment with the WHERE clause, there are way more tables even in vanilla SF than you think)
SELECT KeyPrefix, QualifiedApiName, Label, IsQueryable, IsDeprecatedAndHidden, IsCustomSetting
FROM EntityDefinition
WHERE IsCustomizable = true AND IsCustomSetting = false
来源:https://stackoverflow.com/questions/64275939/salesforce-table-names