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

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 30

Class

Database
Primary front-controller for the database system.

Namespace

Drupal\Core\Database

Code

const RETURN_NULL = 0;