When the AllorNone value is set to false, no error is returned when there's partial sucess or actually even if no records are inserted at all. Here since Account a is null, nothing can be inserted, but since that parameter is set to false, no error is reported.
See: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_database.htm#apex_System_Database_insert
This section is not available anymore. Please use the main Exam Page.CRT-450 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
smoota
1 year, 3 months agoDavidSFDev9
11 months, 2 weeks agoirina_735
7 months, 4 weeks agoesabbatini
11 months, 3 weeks ago