Created
March 29, 2017 16:49
-
-
Save Walletau/3c356e9396ee0e64e8191d65d0784c49 to your computer and use it in GitHub Desktop.
MagicParentsSnippet4
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
Account a = [SELECT Id, Name, | |
Parent.Parent.Parent.ParentId | |
FROM Account | |
WHERE Id = '001p000000K12dV' LIMIT 1]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment