Skip to content

Commit

Permalink
Remove Symbol#like use from README (Fixes #1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Nov 13, 2015
1 parent 4089e90 commit 9e4e144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -267,7 +267,7 @@ issues that you should be aware of when using Sequel.

Counting records is easy using +count+:

posts.where(:category.like('%ruby%')).count
posts.where(Sequel.like(:category, '%ruby%')).count
# SELECT COUNT(*) FROM posts WHERE category LIKE '%ruby%'

And you can also query maximum/minimum values via +max+ and +min+:
Expand Down

0 comments on commit 9e4e144

Please sign in to comment.