Skip to content

Feature Request: Support for sqlc #913

@lil5

Description

@lil5

Describe the Feature
SQLc uses custom non-standard sql that is converted to sql after embedding into a .go file.

Sql-formatter formats these macros incorrectly.

https://docs.sqlc.dev/en/latest/reference/macros.html

Why do you want this feature?
sqlc attempts to use plain sql files to generate type checked embedded sql queries for mysql, postgres & sqlite. I've found sql-formatter pretty handy except for this one issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions