constant 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 20

Class

Database
Primary front-controller for the database system.

Namespace

Drupal\Core\Database

Code

const RETURN_NULL = 0;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Database.php/constant/Database::RETURN_NULL/8.1.x