Grokbase
Topics Posts Groups | in
x
[ help ]

Re: [Dbix-class] Nested joins + column subsets

View PostFlat  Thread  Threaded | < Prev - Next >
Mark Blythe Re: [Dbix-class] Nested joins + column subsets
paperclip | +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Thanks for clearing that up.  I've written a POD patch (attached).

I haven't submitted one of these before, so I wasn't sure exactly what
version of the file to prepare it against.  This one was prepped for
http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Cookbook.pod,
which is currently at revision 3872.

Let me know if I need to re-do it for any reason.

On Nov 21, 2007 9:24 AM, Matt S Trout <dbix-class@trout.me.uk> wrote:
> > So is this a bug or a feature? BTW, I'm using v.08008
>
> Feature. Both 'a' and 'b' could have a 'c' rel. This is how DBIC
> disambiguates.
>
> It's not documented because I don't think the people writing the docs did
> this sort of selective prefetch; fancy whipping up a POD patch for us? :)
>
> --
> Matt S Trout Catalyst and DBIx::Class consulting and support -
> Technical Director http://www.shadowcat.co.uk/catalyst/
> Shadowcat Systems Ltd. Christmas fun in collectable card game form -
> http://www.shadowcat.co.uk/resources/2007_trading/
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.rawmode.org _______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.rawmode.org

Attachment: multi-join-select-cookbook.patch

Thread : [Dbix-class] Nested joins + column subsets
1)
Mark Blythe In trying what seemed like a simple operation today, I've either discovered a bug or documentation...
2)
Matt S Trout Feature. Both 'a' and 'b' could have a 'c' rel. This is how DBIC disambiguates. It's not documented...
3)
Mark Blythe Thanks for clearing that up. I've written a POD patch (attached). I haven't submitted one of these...
paperclip
4)
Matt S Trout Any chance you could patch the 'as' docs in ResultSet as well?
spacer
View PostFlat  Thread  Threaded | < Prev - Next >