You need to sign in to do that
Don't have an account?
Megan Hooser
Transform SQL Queries to SOQL Queries in a Lightning App -step 3
I am on step 3 of Display Books with Their Authors. I followed the steps exactly but am getting this error:
Step not yet complete... here's what's wrong:
The 'getBooksAndAuthor' method does not appear to contain the correct code. Ensure you copied the code entirely.
Can anyone assist?
Step not yet complete... here's what's wrong:
The 'getBooksAndAuthor' method does not appear to contain the correct code. Ensure you copied the code entirely.
Can anyone assist?
@AuraEnabled
public static List<Book__c> getBooksAndAuthor(){
return [SELECT Name, Description__c, Author__r.Name
FROM Book__c];
}
}