nerdexam
Salesforce

PDII · Question #406

Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

The correct answer is B. Database.insert(records, false). See the full explanation below for the reasoning.

Question

Which statement should be used to allow some of the records in a list of records to be inserted if others fail to be inserted?

Options

  • Ainsert (records, false)
  • BDatabase.insert(records, false)
  • CDatabase.insert(records, true)
  • Dinsert records

How the community answered

(54 responses)
  • A
    7% (4)
  • B
    76% (41)
  • C
    4% (2)
  • D
    13% (7)

Community Discussion

No community discussion yet for this question.

Full PDII Practice