@@ -110,9 +110,10 @@ default ApiFuture<Void> bufferAsync(Iterable<Mutation> mutations) {
110110 }
111111
112112 /**
113- * Executes the DML statement(s) and returns the number of rows modified. For non-DML statements,
114- * it will result in an {@code IllegalArgumentException}. The effects of the DML statement will be
115- * visible to subsequent operations in the transaction.
113+ * Executes the DML statement (which can be a simple DML statement or DML statement with a
114+ * returning clause) and returns the number of rows modified. For non-DML statements, it will
115+ * result in an {@code IllegalArgumentException}. The effects of the DML statement will be visible
116+ * to subsequent operations in the transaction.
116117 */
117118 long executeUpdate (Statement statement , UpdateOption ... options );
118119
@@ -141,10 +142,11 @@ default ResultSetStats analyzeUpdate(
141142 }
142143
143144 /**
144- * Executes a list of DML statements in a single request. The statements will be executed in order
145- * and the semantics is the same as if each statement is executed by {@code executeUpdate} in a
146- * loop. This method returns an array of long integers, each representing the number of rows
147- * modified by each statement.
145+ * Executes a list of DML statements (which can include simple DML statements or DML statements
146+ * with returning clause) in a single request. The statements will be executed in order and the
147+ * semantics is the same as if each statement is executed by {@code executeUpdate} in a loop. This
148+ * method returns an array of long integers, each representing the number of rows modified by each
149+ * statement.
148150 *
149151 * <p>If an individual statement fails, execution stops and a {@code SpannerBatchUpdateException}
150152 * is returned, which includes the error and the number of rows affected by the statements that
0 commit comments