-
-
Save karanrajs/3f01c9177ae812c3d589edcb8b03c8a4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Database.Query('Select Id,Name,(select Id,subject,Account.Name,Status,priority from Tasks where remindatalocation__c = True and isClosed = False) | |
from Account where Distance(BillingAddress,Geolocation('+lati+','+longi+'),\'mi\') < 20 limit 10'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment