Hi,

I'm trying to figure out the easiest way to determine
the type of relationship between two resultsets. 
Basically I'd like to find out if it's a parent-child
type relationship, where the child needs PK's from the
parent or if it's a object-attribute type, where the
primary object takes FK's from the attribute object.

I can see a couple of ways using ->relationship_info,
but wanted to hear if there is a 'canonical' and
simple way for this.

Thanks. I need this for improving the bulk_create
branch.

--John

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to