Database::RETURN_NULL

Same name and namespace in other branches
  1. 7.x includes/database/database.inc \Database::RETURN_NULL
  2. 9 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

core/lib/Drupal/Core/Database/Database.php, line 23

Class

Database
Primary front-controller for the database system.

Namespace

Drupal\Core\Database

Code

const RETURN_NULL = 0;

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