View metadata

can I see metadata using SQL? eg.

1.List all objects in my App using SOQL.
2.List All Fields in Object using SOQL.
etc etc

1 Answer(s)


SOQL cannot be used to fetch these details.
Although there are certain methods available which can be used to fetch details about metadata.
describeGlobal() -- to fetch list of all objects
describeSobject() -- Details of Object

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)