Skip to content

Instantly share code, notes, and snippets.

@suddeb
Created October 2, 2016 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suddeb/3adadb3fb511e8682cffbe0cbcf0363b to your computer and use it in GitHub Desktop.
Save suddeb/3adadb3fb511e8682cffbe0cbcf0363b to your computer and use it in GitHub Desktop.
SOQL_1
//queryString is the String containing the actual SOQL statement
List<sObject> allData = Database.query(queryString);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment