Skip to content

COALESCE returns a NullInt instead of an int in JOIN #1096

@kevinburke1

Description

@kevinburke1

If I have COALESCE(connected_clients, 0), sqlc generates a NullInt64 for this instead of an int64. This is a regression from 1.7.0. (At least I can fix it by casting to the right value).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions