[Dbix-class] Many-to-many with attributes
Jules Bean
jules at jellybean.co.uk
Sun Nov 27 23:35:15 CET 2005
Jonathan Tweed wrote:
>
> One question. Why does my original attempt not work? It seems more
> obvious to me, and indeed it is just an extension of the many-to-many
> example in the docs. The SQL that is generated is correct, but the
> columns are not being exposed in the result set, even when I
> specifically ask for them.
Because the object you have thinks it knows what columns it has, and it
won't let you at the columns it doesn't think it has, directly.
> As DBIx::Class is supposed to be result set
> rather than table oriented, why is this?
>
Because it isn't resultset-oriented yet :)
Jules
More information about the Dbix-class
mailing list