Skip to content

Representing infix REGEXP #863

Open
Open
@max-sixty

Description

@max-sixty

MySQL & Sqlite have unusual regex operators:

 SELECT 'a' REGEXP '^[a-d]';

i.e. it's an infix function.

We are big users (and big fans!) of sqlparser-rs in PRQL We have a PR PRQL/prql#2458 for implementing regex in the other dialects.

Could I ask — is there some way of representing an infix function in sqlparser-rs AST?

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