constant Database::RETURN_NULL

  1. 7.x drupal/includes/database/database.inc Database::RETURN_NULL
  2. 8.x drupal/core/lib/Drupal/Core/Database/Database.php 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

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

Class

Database
Primary front-controller for the database system.

Code

const RETURN_NULL = 0;