Database::RETURN_INSERT_ID

Same name and namespace in other branches
  1. 7.x includes/database/database.inc \Database::RETURN_INSERT_ID
  2. 9 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_INSERT_ID
  3. 10 core/lib/Drupal/Core/Database/Database.php \Drupal\Core\Database\Database::RETURN_INSERT_ID

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

File

core/lib/Drupal/Core/Database/Database.php, line 38

Class

Database
Primary front-controller for the database system.

Namespace

Drupal\Core\Database

Code

const RETURN_INSERT_ID = 3;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.