[Dbix-class] introspection/reflection - finding the 'many to many' relationships of a ResultSource

Matt S Trout dbix-class at trout.me.uk
Sat May 26 01:21:08 GMT 2007


> I need to discover all the relationships of a ResultSource class.  I
> can list all of the 'normal' relations by calling ->relationships and
> then check their attributes with ->relationship_info, but this is not
> possible with the many_to_many relationships.  Are there any plans to
> make this discovery possible?  I don't know if it should be done with
> the same methods or with something different - what I need is just any
> way of doing that.

Last time you asked about this I spent some time with you working out an
API for this.

Where are you up to with the patches to implement it?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Dbix-class mailing list