Skip to content

sqlite: comparison order affects generation of param structs #2032

Description

@pexarkh

Version

1.16.0

What happened?

You can find a reproducible example in this repository
A brief explanation of what happened is in README.md

Relevant log output

sqlc generated code is here https://github.com/pexarkh/sqlc-bug/blob/main/pkg/database/q.sql.go

Database schema

https://github.com/pexarkh/sqlc-bug/blob/main/database/schema/s.sql

SQL queries

https://github.com/pexarkh/sqlc-bug/blob/main/database/queries/q.sql

Configuration

https://github.com/pexarkh/sqlc-bug/blob/main/database/sqlc.yaml

Playground URL

No response

What operating system are you using?

macOS

What database engines are you using?

No response

What type of code are you generating?

Go

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

    bugSomething isn't workingtriageNew 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