Skip to main content

Im getting the following error at the end of this lesson after completing all the instructyions:

 

Error at the end of Write Business Logic in Apex

The annonymous Apex function has no parameters passed to it 

 

System.debug(HouseService.getRecords());

How can i pass the parameter in the SOQL that name = 'Stunning Victorian'

 

Its weird that im getting this error but nowhere in the instructions is it asking for the apex function to return a single record

 

Any help would be appreciated :)

4 个回答
  1. 2023年5月15日 16:21

    Hi @Mario Lisbona,

     

    I'm a member of the Trailblazer Help team. Please feel free to mark the correct answer as best answer. So that will help other Trailblazers to find the correct answer. Thank you!

     

    Best Regards,

    Ravindra 

    Trailblazer Help

0/9000