Skip to content

Add 'rlike' and 'regexp' to accepted SQL query operators. #838

@Weeblewonder

Description

@Weeblewonder

Tried using 'rlike' and 'regexp' with Musician::where('instruments', 'regexp', '(Vocals|Bass)') but found that in Database/Query/Builder where() only accepts certain operators.
So I suggest to add these in, not sure if its appropriate as I dont know if rlike/regexp are MySQL only and query builder is meant to be abstract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions