Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change search_like example to use search #96

Open
wants to merge 5 commits into
base: current/blead
Choose a base branch
from

Conversation

jasonblewis
Copy link

No description provided.


# 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%' } });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo here: $schema-resultset.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, fixed and pushed to my fork

@ribasushi
Copy link
Collaborator

@jasonblewis Thanks for the PR. There are a couple of structural issues with it, just like the sort of thing we discussed in #dbix-class. I need to think a little, will get back to you in couple hours with a set of possible ways forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants