Added a comment to the example code to stress that it does not work.
Norbert Buchmuller [Wed, 2 Sep 2009 02:20:17 +0000 (04:20 +0200)]
lib/DBIx/Class/Manual/Cookbook.pod

index 93068d5..d9ab93b 100644 (file)
@@ -336,7 +336,7 @@ B<NOTE>: You have to explicitly use '=' when doing an equality comparison.
 The following will B<not> work:
 
   my $rs = $schema->resultset('CD')->search({
-    artist_id => $inside_rs->get_column('id')->as_query,
+    artist_id => $inside_rs->get_column('id')->as_query,  # does NOT work
   });
 
 =head3 Support