You need to sign in to do that
Don't have an account?
sanket supe
Apex Basics & Database Unit 4/5
Hello...
I am facing problem in solving challange
error says..
Challenge not yet complete... here's what's wrong:
Executing the 'searchForContacts' method failed. Either the method does not exist, is not static, or does not return the expected contacts.
my code is.
public class ContactSearch {
public static List<List<SObject>> searchForContacts(String name) {
List<List<SObject>> result= [FIND :name IN ALL FIELDS
RETURNING Contact(LastName, MailingPostalCode)];
return result;
}
}
please help
Thanks in Advance,
Sanket Supe
I am facing problem in solving challange
error says..
Challenge not yet complete... here's what's wrong:
Executing the 'searchForContacts' method failed. Either the method does not exist, is not static, or does not return the expected contacts.
my code is.
public class ContactSearch {
public static List<List<SObject>> searchForContacts(String name) {
List<List<SObject>> result= [FIND :name IN ALL FIELDS
RETURNING Contact(LastName, MailingPostalCode)];
return result;
}
}
please help
Thanks in Advance,
Sanket Supe
This challenge is for SOQL and searchForContacts should have 2 parameters.
Here is mine: Hope this helps,
Fred
All Answers
This challenge is for SOQL and searchForContacts should have 2 parameters.
Here is mine: Hope this helps,
Fred