You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Experimenting with sqlc and conditional order by's aren't generating the code for mysql as I'd expect. Didn't see any matching issues - hopefully I didn't miss one.
As you can see by the example below, the mysql generated code skips the sqlc.arg(sort_column) bind.
Version
1.10.0
What happened?
👋 Experimenting with sqlc and conditional order by's aren't generating the code for
mysql
as I'd expect. Didn't see any matching issues - hopefully I didn't miss one.As you can see by the example below, the mysql generated code skips the
sqlc.arg(sort_column)
bind.As an alternate example, here's postgres working as expected
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/4d6a51438a52ec0067279884c6327f14e1c2e50d3057591178c44e438f926385
What operating system are you using?
No response
What database engines are you using?
MySQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: