Skip to content

Trim syntax without trimWhere and From not supported.  #568

Description

@ayushdg

Postgresql syntax for trim trim ( [ LEADING | TRAILING | BOTH ] [ characters text ] FROM string text ) → text allows the pattern of
trim(chars from string).

sqlparser currently fails with this combo of no leading/trailing/both flag and the from keyword specified.

Happy to work on a pr for this fix

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