By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.0
Issue links:
Description:
Cursor offset and orientation arguments in StatementInterface::fetch() are untested and likely not working.
Their usage is now triggering a deprecation, and the arguments will be removed in Drupal 12.
Before:
$connection->query("SELECT * FROM {node}")->fetch(FetchAs::Associative, 1, 1);
After:
$connection->query("SELECT * FROM {node}")->fetch(FetchAs::Associative);
Impacts:
Module developers