Câu 51: Salesforce Certified Platform Developer I
How can a developer warn users of SOQL governor limit violations in a trigger?
Nội dung câu hỏi
How can a developer warn users of SOQL governor limit violations in a trigger?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Use Messaging.SendEmail() to continue the transaction and send an alert to the user after the number of SOQL queries exceeds the limit.
- B. Use PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number of SOQL queries exceeds the limit.
- C. Use Limits.getQueries() and display an error message before the number of SOQL queries exceeds the limit. — đáp án hiện tại
- D. Use ApexMessage.Message() to display an error message after the number of SOQL queries exceeds the limit.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.