constant Database::RETURN_INSERT_ID

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

Flag to indicate a query call should return the "last insert id".

File

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

Class

Database
Primary front-controller for the database system.

Code

const RETURN_INSERT_ID = 3;