[Dbix-class] Resultset chaining
Rob Kinyon
rob.kinyon at gmail.com
Wed Oct 14 20:57:58 GMT 2009
On Wed, Oct 14, 2009 at 16:53, Benjamin Hitz <hitz at genome.stanford.edu> wrote:
>
> Oooh... nice catch but the second one succeeds; that is the correct SQL.
>
> And this still fails to add the where clause
> perl -I./ -MDB::Mod -e '$r=DB::Mod->schema->resultset("Feature");
> $r->search({gene_name=>"ACT1"});$r->all' ;
->search returns the new resultset. It does NOT modify the invocant.
$r = $r->search( ... );
Rob
More information about the DBIx-Class
mailing list