PHP » GoLang |
login |
register |
about
|
GoLang db2_last_insert_id
request it (344)
GoLang replacement for PHP's db2_last_insert_id
[edit | history]
db2_last_insert_id(PECL ibm_db2 >= 1.7.1) db2_last_insert_id — Returns the auto generated ID of the last insert query that successfully executed on this connection Description
string db2_last_insert_id
( resource
$resource
)Returns the auto generated ID of the last insert query that successfully executed on this connection. The result of this function is not affected by any of the following:
Parameters
Return ValuesReturns the auto generated ID of last insert query that successfully executed on this connection. Examples
Example #1 A db2_last_insert_id() example The following example shows how to return the auto generated ID of last insert query that successfully executed on this connection.
<?php The above example will output: Last Insert ID is : 1 |
more
Recently updated
more
Most requested
more
Last requests
|