+ 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.