rename and mention example
[scpubgit/Q-Branch.git] / lib / SQL / Abstract / Plugin / BangOverrides.pm
index 9ef6a61..29cf645 100644 (file)
@@ -55,14 +55,12 @@ of '!name' is encountered, if its value is a coderef, it's called with the
 original value of the 'name' clause and expected to return a replacement, and
 if not, it's simply used as a direct replacement.
 
-So, given appropriate DBIC setup:
+So, given appropriate DBIC setup (see C<examples/bangdbic>):
 
   $s->storage->sqlmaker->plugin('+ExtraClauses')->plugin('+BangOverrides');
 
   my $rs2 = $s->resultset('Foo')->search({
     -op => [ '=', { -ident => 'outer.y' }, { -ident => 'me.x' } ]
-  }, {
-    with_recursive => [ outer => $rs->get_column('x')->as_query ],
   });
   # (SELECT me.x, me.y, me.z FROM foo me WHERE ( outer.y = me.x ))