Skip to content

Implement support for CAST(expr AS type-name) with SQLite engine #2541

Closed as not planned
@andrewmbenton

Description

@andrewmbenton

What do you want to change?

sqlc understands casting for postgresql and soon mysql. We should add it for sqlite as well.

Currently things are pretty broken: https://play.sqlc.dev/p/e653d75ac564b18a73b0c459ade58b2b4653aee02f3058481471212a93bad890

What database engines need to be changed?

SQLite

What programming language backends need to be changed?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageNew issues that hasn't been reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions