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

Vadim Pushtaev notifications at github.com
Sat Feb 27 14:26:01 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%' } });

There is a typo here: `$schema-resultset`.

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


More information about the DBIx-Class-Devel mailing list