Skip to main content
L J 님이 #Data Management에 질문했습니다
Hi, in an execute anonymous window I've got this single line:

 

List<Contact> conlist = [select Id, from contact where email='janedoe@gmail.com'];

 

I'm getting this error: Unexpected token '<'.

 

Does anyone know the reason it's not recognising the < in the list declaration? What am I missing?
답변 2개
  1. 2018년 4월 17일 오후 7:10
    try this

     

     

    List<Contact> conlist = [select Id from contact where email='janedoe@gmail.com'];

     

     
0/9000