Salesforce
PDII · Question #158
Which of the following about Dynamic Apex is incorrect?
The correct answer is D. In dynamic SOQL, you can use bind variables and bind variable fields. See the full explanation below for the reasoning.
Question
Which of the following about Dynamic Apex is incorrect?
Options
- AYou can retrieve the sObject type from an Id by calling .getSObjectType()
- BgetDescribe() can get you a variety of info on a particular object/field
- CSchema.getGlobalDescribe() gives you a map of all sObject
- DIn dynamic SOQL, you can use bind variables and bind variable fields
How the community answered
(24 responses)- A4% (1)
- B17% (4)
- C4% (1)
- D75% (18)
Community Discussion
No community discussion yet for this question.