NextID and DB_DataObjects (me too;)
| From: | Grégory Quiniou | Date: | Tue, 19 Nov 2002 16:26:00 +0000 |
| Subject: | NextID and DB_DataObjects (me too;) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2760@lists.php.net to get a copy of this message | ||
Hello,
I got this error with DataObjects Insert method :
Warning: Missing argument 1 for nextid() in /usr/share/pear/DB/pgsql.php on line 492
The database is Postgresql and DataObjects doesn't use the sequences defined in the DB.
The DataObjects insert() method calls DB->nextId() without parameters, it is very strange as it normally takes one or two.
Does someone have the same problem or knows a workaround ???
Thanks in advance
Gregory