Skip to content
Snippets Groups Projects
Commit b6480251 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #780048 by linclark: db_next_id() documentation refers to a non-existent function.

parent b8664945
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -2500,8 +2500,9 @@ function db_close(array $options = array()) {
/**
* Retrieves a unique id.
*
* Use this function if for some reason you can't use a serial field, normally a
* serial field with db_last_insert_id is preferred.
* Use this function if for some reason you can't use a serial field. Using a
* serial field is preferred, and InsertQuery::execute() returns the value of
* the last ID inserted.
*
* @param $existing_id
* After a database import, it might be that the sequences table is behind, so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment