Skip to content

Add support for parsing using user-defined dialect #24

@LucaCappelletti94

Description

@LucaCappelletti94

There are a few syntaxes for which sqlparser crashes when the dialect provided does not support them, such as:

CREATE ROLE admin SUPERUSER CREATEDB LOGIN;

At this time, sql-docs uses always the generic dialect. It is needful to add support for setting the dialect. I suggest you add it as a generic of the SqlDoc struct.

Luca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions