Database::RETURN_NULL

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_NULL
  2. 8.9.x core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_NULL
  3. 10 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_NULL

Flag to indicate a query call should simply return NULL.

This is used for queries that have no reasonable return value anyway, such as INSERT statements to a table without a serial primary key.

File

includes/database/database.inc, line 1436

Class

Database
Primary front-controller for the database system.

Code

const RETURN_NULL = 0;

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