statements property

List<Statement>? statements
getter/setter pair

The list of statements to execute in this batch.

Statements are executed serially, such that the effects of statement i are visible to statement i+1. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.

Required.

Implementation

core.List<Statement>? statements;