X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FFAQ.pod;h=928808cb4a37dd61e54458d8f46ee60b45d4e0f9;hb=e9188247f020a63ab8b6280c9dcdcb0df5b5f0c1;hp=8b8baed49227bc75aaba83c2405869d002ceb58a;hpb=36d41f4cbf775d4dd817e4ac0ffbd5b97639461f;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Manual/FAQ.pod b/lib/DBIx/Class/Manual/FAQ.pod index 8b8baed..928808c 100644 --- a/lib/DBIx/Class/Manual/FAQ.pod +++ b/lib/DBIx/Class/Manual/FAQ.pod @@ -245,10 +245,16 @@ documentation. =over 4 -=item .. fetch as much data as possible in as few select calls as possible? (prefetch) +=item .. fetch as much data as possible in as few select calls as possible? See the prefetch examples in the L. +=item .. fetch a whole column of data instead of a row? + +Call C on a L, this returns a +L, see it's documentation and the +L for details. + =back =head2 Inserting and updating data @@ -311,7 +317,7 @@ to work around this issue. =item See the SQL statements my code is producing? -Turn on debugging! See L for details of how +Turn on debugging! See L for details of how to turn on debugging in the environment, pass your own filehandle to save debug to, or create your own callback. @@ -324,3 +330,15 @@ search again or relationship accessors. The SQL query is only run when you ask the resultset for an actual row object. =back + +=head2 Notes for CDBI users + +=over 4 + +=item Is there a way to make an object auto-stringify itself as a +particular column or group of columns (a-la cdbi Stringfy column +group, or stringify_self method) ? + +See L + +=back