Re: DataObject Inserts and Sequences
| From: | Michael Kunze | Date: | Thu, 26 Feb 2004 09:41:10 +0000 |
| Subject: | Re: DataObject Inserts and Sequences | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10952@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
> When you have a field set as a primary key, DB_DataObject won't allow
> you to manually set it (I believe). Why are you trying to set the
> primary key manually?
because actually, player_id is a foreign key. the players with their
unique id's are defined in table player. there the primary key has an
autoincrement.
so as you may understand i can't need sequences here.
michael