Hello friends! Hope you all well, In today's post, I'll show a SOQL query that helps you to query data from Lightning Component(Aura Component). With the help of query you can find relative information about components like name, modifieddate, createddate etc. So let's get started,

SOQL query for Aura Component

Use the following query to get record from "AuraDefinationBundle".

 SELECT Id,MasterLabel, DeveloperName, APIVersion, CreatedBy.Name, LastModifiedBy.Name, CreatedDate, LastModifiedDate FROM AuraDefinitionBundle

Output: 

 

Hope you like this post, for any feedback or suggestions please feel free to comment. I would appreciate your feedback and suggestions.
Thank you.