From: Jess Robinson Date: Sat, 14 Oct 2006 17:33:13 +0000 (+0000) Subject: Minor consistency, layout and grammar updates X-Git-Tag: v0.07003~31 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=324572ca994f45d79f7dc80e9e8f90c10f35fe41;p=dbsrgits%2FDBIx-Class.git Minor consistency, layout and grammar updates --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index aae55bb..ada12c6 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