Database::RETURN_NULL

  1. drupal
    1. 7 includes/database/database.inc
    2. 8 core/lib/Drupal/Core/Database/Database.php

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

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

Code

const RETURN_NULL = 0
Login or register to post comments