DBDO links question
| From: | Joe Stump | Date: | Wed, 05 Nov 2003 22:06:11 +0000 |
| Subject: | DBDO links question | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8796@lists.php.net to get a copy of this message | ||
Hi all,
I'm using DBDO to do linking between tables and I have a few questions:
1.) Can I rename my links? Times may arise where a table's column is
linked to more than one other table (for instance userID is linked to
userID in sessions and userID in blog).
2.) Is 1:N and M:N a possibility? The docs would indicate that it's not,
but I know how sometimes docs and code are sometimes out of sync. "It
assumes the relationships are non-primary id to primary id, as the example
below shows, the person.owner is linked to grp.id. This indicates that
running getLinks() on the person object, will fetch a single bit of data"
3.) Is there support for compound keys (in links or otherwise)?
Thanks!
--Joe
--
Joe Stump <joe@joestump.net>
http://www.joestump.net
"Label makers are proof God wants Sys Admins to be happy."