This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This simple controller (without CRUD and FLS) ... | |
public with sharing class AccountController { | |
@AuraEnabled | |
public static List<Account> findAll() { | |
return [SELECT id, name, Location__Latitude__s, Location__Longitude__s | |
FROM Account | |
WHERE Location__Latitude__s != NULL AND Location__Longitude__s != NULL | |
LIMIT 50]; |