Created
October 3, 2016 00:22
-
-
Save suddeb/787decc508aa478a740e5e750818c215 to your computer and use it in GitHub Desktop.
MyCustomObject
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
MyCustomObject__c newCustomObject = new MyCustomObject__c(myCustomField__c ='My Custome Field'); | |
List<sObject> sObjList = Database.query('SELECT Id FROM MyCustomObject__c WHERE myCustomField__c = :newCustomObject.myCustomField__c'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment