constant Database::RETURN_AFFECTED

  1. 7.x drupal/includes/database/database.inc Database::RETURN_AFFECTED
  2. 8.x drupal/core/lib/Drupal/Core/Database/Database.php Database::RETURN_AFFECTED

Flag to indicate a query call should return the number of affected rows.

File

drupal/includes/database/database.inc, line 1376
Core systems for the database layer.

Class

Database
Primary front-controller for the database system.

Code

const RETURN_AFFECTED = 2;