function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hanifa fatimahanifa fatima 

How do i retrieve the data of AuraDefinationBundle using metadata JsForce in Nodejs

I want to retrieve the code from the ligtningcomponent into node using JSforce. Is there any query for metadata to retrieve it? 

conn.sobject("AuraDefinitionBundle").select('*').where({DeveloperName : object})
          .execute(function(err, records) {
            console.log(records);
This is how i tried but i need the code retrieval from controller or the component too.