fork download
  1. import {LightningComponent} from 'lwc';
  2.  
  3. export default class AccountClass
  4. {
  5. List<Contact> listContact = new List<Contact>();
  6. listContact = select FirstName,LastName from Contact LIMIT 10 Ordered by CreatedDate DESC
  7. }
Success #stdin #stdout #stderr 0.01s 8964KB
stdin
Standard input is empty
stdout
Object: Array new: 1 "<0x7f4a7d885af0>" error: did not understand #from
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
Array(Object)>>doesNotUnderstand: #from (SysExcept.st:1448)
UndefinedObject>>executeStatements (prog:1)
stderr
./prog:1: expected expression