You are here

constant Database::RETURN_NULL in Drupal 9

Same name and namespace in other branches
  1. 8 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;