Skip to content

Representing infix REGEXP #863

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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