constant Database::RETURN_AFFECTED in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_AFFECTED
- 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_AFFECTED
Flag to indicate a query call should return the number of affected rows.
Deprecated
in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement.
See also
https://www.drupal.org/node/3185520
File
- core/
lib/ Drupal/ Core/ Database/ Database.php, line 48
Class
- Database
- Primary front-controller for the database system.
Namespace
Drupal\Core\DatabaseCode
const RETURN_AFFECTED = 2;