note 75200 added to function.PDO-lastInsertId
| From: | YonatanBen-Nes at osu1 dot php dot net | Date: | Thu, 17 May 2007 16:05:20 +0000 |
| Subject: | note 75200 added to function.PDO-lastInsertId | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126668@lists.php.net to get a copy of this message | ||
It should be mentioned that this function DOES NOT retrieve the ID (Primary key) of the row but
it's OID instead.
So if you use one of the latest PostgreSQL versions this function won't help you unless you add
OID to the table specifically when you create it.
----
Server IP: 212.199.163.191
Probable Submitter: 212.143.222.77
----
Manual Page -- http://www.php.net/manual/en/function.PDO-lastInsertId.php
Edit -- https://master.php.net/note/edit/75200
Del: integrated -- https://master.php.net/note/delete/75200/integrated
Del: useless -- https://master.php.net/note/delete/75200/useless
Del: bad code -- https://master.php.net/note/delete/75200/bad+code
Del: spam -- https://master.php.net/note/delete/75200/spam
Del: non-english -- https://master.php.net/note/delete/75200/non-english
Del: in docs -- https://master.php.net/note/delete/75200/in+docs
Del: other reasons-- https://master.php.net/note/delete/75200
Reject -- https://master.php.net/note/reject/75200
Search -- https://master.php.net/manage/user-notes.php