Home
last modified time | relevance | path

Searched refs:lastInsertId (Results 1 – 11 of 11) sorted by relevance

/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_last_insert_id.phpt2 MySQL PDO->lastInsertId()
17 if ('0' !== ($tmp = $db->lastInsertId()))
26 if ('0' !== ($tmp = $db->lastInsertId()))
30 if ('0' !== ($tmp = $db->lastInsertId()))
34 if ('0' !== ($tmp = $db->lastInsertId()))
39 if ('0' !== ($tmp = $db->lastInsertId()))
43 if ('0' !== ($tmp = $db->lastInsertId()))
48 if ('0' !== ($tmp = $db->lastInsertId()))
58 $next_id = (int)$db->lastInsertId();
72 $next_id = (int)$db->lastInsertId();
[all …]
H A Dbug80908.phpt2 Bug #80908: pdo_mysql lastInsertId() return wrong, when table id bigger than the maximum value of i…
27 echo "Running test lastInsertId\n";
31 $id = $db->lastInsertId();
49 Running test lastInsertId
H A Dlast_insert_id.phpt23 print_r($db->lastInsertId());
H A Dpdo_mysql_interface.phpt27 'lastInsertId' => true,
/PHP-8.1/ext/pdo_pgsql/tests/
H A Dbug72633.phpt2 PDO PgSQL Bug #72633 (Postgres PDO lastInsertId() should work without specifying a sequence)
30 var_dump($db->lastInsertId());
34 var_dump($db->lastInsertId('test_last_id_id_seq'));
H A Dbug73959.phpt2 Bug #73959 (lastInsertId fails to throw an exception)
22 $db->lastInsertId('nonexistent_seq');
/PHP-8.1/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_lastinsertid.phpt2 PDO_sqlite: Testing lastInsertId()
14 var_dump($db->lastInsertId());
/PHP-8.1/ext/pdo/
H A Dpdo_dbh.stub.php35 public function lastInsertId(?string $name = null): string|false {} function in PDO
H A Dpdo_dbh_arginfo.h71 ZEND_METHOD(PDO, lastInsertId);
89 ZEND_ME(PDO, lastInsertId, arginfo_class_PDO_lastInsertId, ZEND_ACC_PUBLIC)
H A Dpdo_dbh.c987 PHP_METHOD(PDO, lastInsertId) in PHP_METHOD() argument
/PHP-8.1/
H A DNEWS1791 . Fixed bug #80908 (PDO::lastInsertId() return wrong). (matt)

Completed in 20 milliseconds