[DBIx-Class-Devel] [dbix-class] change search_like example to use search (#96)

Jason Lewis notifications at github.com
Sun Feb 28 08:35:22 GMT 2016


>  
>    # Find albums whose artist starts with 'Jimi'
> -  my $rs = $schema->resultset('Album')->search_like({ artist => 'Jimi%' });
> +  my $rs = $schema-resultset('Album')->search({ artist => { like => 'Jimi%' } });

thanks, fixed and pushed to my fork

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/96/files#r54346002
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160228/4a5b0806/attachment.htm>


More information about the DBIx-Class-Devel mailing list