Skip to content

Implementing From for sqlparser::ast::Statement variants #2020

@LucaCappelletti94

Description

@LucaCappelletti94

The enum Statement has several variants of the type Variant(VariantStruct), such as Set(Set) or CreateIndex(CreateIndex).

I would like to implement the From<Variant> for Statement trait for all such variants of Statement.

Do let me know whether that would be desirable.

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