1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 07:21:30 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2023-04-11 22:22:26 +02:00
9 changed files with 64 additions and 25 deletions

View File

@@ -289,12 +289,35 @@ interface driver_interface
public function cast_expr_to_bigint($expression);
/**
* Get last inserted id after insert statement
*
* @return int|false Autoincrement value of the last inserted row
*/
* Gets the ID of the **last** inserted row immediately after an INSERT
* statement.
*
* **Note**: Despite the name, the returned ID refers to the row that has
* just been inserted, rather than the hypothetical ID of the next row if a
* new one was to be inserted.
*
* The returned value can be used for selecting the item that has just been
* inserted or for updating another table with an ID pointing to that item.
*
* Alias of `sql_last_inserted_id`.
*
* @deprecated 3.3.11-RC1 Replaced by sql_last_inserted_id(), to be removed in 4.1.0-a1
*
* @return int|false Auto-incremented value of the last inserted row
*/
public function sql_nextid();
/**
* Gets the ID of the last inserted row immediately after an INSERT
* statement. The returned value can be used for selecting the item that has
* just been inserted or for updating another table with an ID pointing to
* that item.
*
* @return int|false Auto-incremented value of the last inserted row
*/
public function sql_last_inserted_id();
/**
* Add to query count
*