Adobe
9A0-127 · Question #42
You want to delete an Art entity from the ColdFusion ORM and from the database. The array of Art entities is stored within the array aArt, and the entity to be deleted is the second member of the…
The correct answer is D. entityDelete(aArt[2]). See the full explanation below for the reasoning.
Question
You want to delete an Art entity from the ColdFusion ORM and from the database. The array of Art entities is stored within the array aArt, and the entity to be deleted is the second member of the array. The primary key property of the Art entity is artId. Which statement deletes this entity?
Options
- AarrayDeleteAt(aArt, 2);
- BaArt[2] = null;
- CentityDelete(aArt[2].artId);
- DentityDelete(aArt[2]);
How the community answered
(41 responses)- A2% (1)
- B12% (5)
- C10% (4)
- D76% (31)
Community Discussion
No community discussion yet for this question.