Skip to content

regression: "relation "lower" does not exist" #214

Closed
@kevinburke1

Description

@kevinburke1

On tip, this query:

SELECT * FROM company_users WHERE company_slug = $1 AND email = LOWER($2);

generates the following error:

db/query/company_users.sql:9:1: relation "lower" does not exist

This did not generate an error with previous versions of sqlc.

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