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, 5 months agoDavidSFDev9
1 year, 1 month agoirina_735
9 months, 3 weeks agoesabbatini
1 year, 1 month ago