Database::RETURN_AFFECTED

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_AFFECTED
  2. 8.9.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_AFFECTED
  3. 10 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.

File

includes/database/database.inc, line 1446

Class

Database
Primary front-controller for the database system.

Code

const RETURN_AFFECTED = 2;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.