Skip to content

support strings start with more SQL keywords #115

Description

@zhenyulin

It would be nice to support more keywords such as WHERE and use uppercase to avoid confusion. The use case would be for conditional query manipulation, e.g.

    country_filter = "WHERE country = %s" if country else ""

    query = f"""--sql
        SELECT * FROM projects
        {country_filter}
    """

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions