Skip to content

Instantly share code, notes, and snippets.

@forcementor
Created October 22, 2012 00:36
Show Gist options
  • Select an option

  • Save forcementor/3929090 to your computer and use it in GitHub Desktop.

Select an option

Save forcementor/3929090 to your computer and use it in GitHub Desktop.
Developing Mobile…Force.com and Sencha-Part 3, Step 2: Lookback at getAllLeads() on Apex controller
private static List < Lead > getAllLeads() {
return [SELECT
FirstName, LastName, Company, Title, Phone, MobilePhone, Email, Status
FROM Lead LIMIT 50];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment