db_last_insert_id

Related topics

Namesort iconDescription
Database abstraction layerAllow the use of different database servers using the same code base.
Schema APIA Drupal schema definition is an array structure representing one or more tables and their related keys and indexes. A schema is defined by hook_schema(), which usually lives in a modulename.install file.

Functions that call db_last_insert_id()

Namesort iconLocationDescription
actions_savedrupal/includes/actions.incSave an action and its associated user-supplied parameter values to the database.
aggregator_save_categorydrupal/modules/aggregator/aggregator.moduleAdd/edit/delete aggregator categories.
aggregator_save_feeddrupal/modules/aggregator/aggregator.moduleAdd/edit/delete an aggregator feed.
batch_processdrupal/includes/form.incProcess the batch.
block_add_block_form_submitdrupal/modules/block/block.admin.incSave the new custom block.
comment_savedrupal/modules/comment/comment.moduleAccepts a submission of new or changed comment content.
drupal_write_recorddrupal/includes/common.incSave a record to the database based upon the schema.
file_save_uploaddrupal/includes/file.incSaves a file upload to a new location.
menu_link_savedrupal/includes/menu.incSave a menu link.
node_savedrupal/modules/node/node.moduleSave a node object into the database.
simpletest_run_testsdrupal/modules/simpletest/simpletest.moduleActually runs tests.
user_savedrupal/modules/user/user.moduleSave changes to a user account or add a new user.

Functions called by db_last_insert_id()

Namesort iconLocationDescription
db_escape_tabledrupal/includes/database/database.incRestrict a dynamic table, column or constraint name to safe characters.
db_querydrupal/includes/database/database.incExecute an arbitrary query string against the active database.
db_resultdrupal/includes/database/database.inc