Skip to content

Specify if search should be case-insensitivity #15

Description

@EdCordata

I think it should be a good feature to add case-insensitivity.

So that would be this in MySql:

LOWER(posts.title) LIKE (?)

or this in PostgeSQL:

posts.title ILIKE (?)

So, maybe it could be:

Post.where.ilike(title: "%rails%")
Post.where.not_ilike(title: "%rails%")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions