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.

3 uses of Database::RETURN_NULL
DatabaseConnection::query in drupal-7.x/includes/database/database.inc
Executes a query string against the database.
DatabaseConnection_pgsql::query in drupal-7.x/includes/database/pgsql/database.inc
Executes a query string against the database.
InsertQuery_pgsql::execute in drupal-7.x/includes/database/pgsql/query.inc
Executes the insert query.

File

drupal-7.x/includes/database/database.inc, line 1331
Core systems for the database layer.

Class

Database
Primary front-controller for the database system.

Code

const RETURN_NULL = 0;