From 13768b0eaa61cdfddb728ef7e0249b967f8075f1 Mon Sep 17 00:00:00 2001 From: Samuel Smith Date: Sun, 12 Jul 2015 19:13:43 -0500 Subject: [PATCH] Add bold text Wasted 30 minutes trying to join to a table name instead of relationship (even though I was franticly digging through the docs) --- lib/DBIx/Class/Manual/Cookbook.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index d08022ae3..3e6711b16 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -502,7 +502,7 @@ To return all CDs matching a particular artist name, you specify the name of the # JOIN artist ON cd.artist = artist.id # WHERE artist.name = 'Bob Marley' -In that example both the join, and the condition use the relationship name rather than the table name +In that example both the join, and the condition B rather than the table name (see L for more details on aliasing ). If required, you can now sort on any column in the related tables by including