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
{{ message }}
Repository navigation
sum in select result in model field type interface{} #1901
Activity
brlala commentedon Oct 18, 2022
use this as a workaround
sosolyht commentedon Oct 20, 2022
@brlala thank you, but this solution does not work with mysql
sosolyht commentedon Oct 27, 2022
query is return from interface to byte type
so we can solve this problem
abh commentedon Dec 19, 2022
Related to #1622
feat(mysql): Implement cast function parser (#2473)
andrewmbenton commentedon Jan 3, 2024
As noted, this workaround doesn't work for MySQL. The following does work though:
https://play.sqlc.dev/p/a046db4043e5fb11a9135f6632d96bcd4506c754e9bab06b1706ef06c5ea6dc9
feat(mysql): Implement cast function parser (sqlc-dev#2473)