X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FCookbook.pod;h=52bb889691b9a7b8675dc75ff1d59855182f3d28;hb=8b50216ef0fb096f61405a93a96b68a1d1b62bf4;hp=7e9a810969b89da1a423b76f20f3b802767b51a0;hpb=83ab85eaf574f3ffe429f74d595095162cf1cdaa;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index 7e9a810..52bb889 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -72,8 +72,10 @@ L. =head3 Using specific columns -When you only want selected columns from a table, you can use C to -specify which ones you need: +When you only want specific columns from a table, you can use +C to specify which ones you need. This is useful to avoid +loading columns with large amounts of data that you aren't about to +use anyway: my $rs = $schema->resultset('Artist')->search( undef, @@ -85,6 +87,9 @@ specify which ones you need: # Equivalent SQL: # SELECT artist.name FROM artist +This is a shortcut for C and C. + =head3 Using database functions or stored procedures The combination of C