By mondrake on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
11.5.x
Introduced in version:
11.5.0
Issue links:
Description:
Drupal\Core\Database\Query\Upsert::execute() returning a value is deprecated.
In Drupal 13, Drupal\Core\Database\Query\Upsert will implement QueryExecutionVoidInterface and its ::execute() method will be carrying a void return type.
For BC, during the deprecation period the method will keep returning an int value when called, unless in the Upsert options a 'return_affected_rows' => FALSE entry is added.
Impacts:
Module developers