Skip to content

Instantly share code, notes, and snippets.

@choudharymanish8585
Created October 31, 2018 01:48
Show Gist options
  • Select an option

  • Save choudharymanish8585/a3020428ed38ec786ef16a4719e60f34 to your computer and use it in GitHub Desktop.

Select an option

Save choudharymanish8585/a3020428ed38ec786ef16a4719e60f34 to your computer and use it in GitHub Desktop.
public class AuraIfTester
{
/**
* Function to get all AuraIFTester records
* */
@AuraEnabled
public static List<AuraIfTester__c> getRecords()
{
return [SELECT
Id, //Record ID
Name, //AuraIfTester Name
SystemModstamp, //System Modstamp
Show_Me__c, //Show Me
Demo_Text__c, //Demo Text
Demo_Number__c, //Demo Number
Demo_Boolean__c //Demo Boolean
FROM AuraIfTester__c];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment