Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Support AST TRIM function #300

Closed
joocer opened this issue Jul 18, 2022 · 1 comment
Closed

✨ Support AST TRIM function #300

joocer opened this issue Jul 18, 2022 · 1 comment

Comments

@joocer
Copy link
Contributor

joocer commented Jul 18, 2022

SELECT TRIM('#! ' FROM '    #SQL Tutorial!    ') AS TrimmedString;
    /// TRIM([BOTH | LEADING | TRAILING] <expr> [FROM <expr>])\
    /// Or\
    /// TRIM(<expr>)
    Trim {
        expr: Box<Expr>,
        // ([BOTH | LEADING | TRAILING], <expr>)
        trim_where: Option<(TrimWhereField, Box<Expr>)>,
    },
@joocer joocer added the Next Release Planned for next release label Aug 6, 2022
@joocer joocer removed the Next Release Planned for next release label Aug 16, 2022
@joocer joocer changed the title [FEATURE] Support AST TRIM function ✨ Support AST TRIM function Aug 20, 2022
@joocer
Copy link
Contributor Author

joocer commented Aug 20, 2022

#370

@joocer joocer closed this as completed Nov 22, 2022
joocer added a commit that referenced this issue Nov 22, 2022
joocer added a commit that referenced this issue Nov 22, 2022
joocer added a commit that referenced this issue Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant