function db_insert_id

7.x db.inc db_insert_id()
6.x db.inc db_insert_id()
4.x db.inc db_insert_id()
5.x db.inc db_insert_id()
7 calls to db_insert_id()
admin_edit_degree_form_submit in modules/admin/admin.degrees.inc
batch_set in modules/batch/batch.module
Create a new batch process.
content_add_new_uploaded_file in modules/content/content.module
bool_replace_existing means should we replace an existing file (based on filename) with this new one? Instead of creating an INSERT, that is.
content_content_save in modules/content/content.module
Implements hook_content_save. We will save the content object to the database.
DatabaseHandler::duplicate_advising_session in classes/DatabaseHandler.php
Given an advising_session_id, create a duplicate of it as a new session_id (and return the new session_id).

... See full list

File

includes/db.inc, line 747
This file contains mostly db shortcuts.

Code

function db_insert_id() {
  $db = get_global_database_handler();
  return $db->db_insert_id();
}