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
When I made a query request to the Go backend built with sponge for the value, I encountered a problem where Chinese characters would cause encoding errors and result in query failure. I roughly identified the issue to be in the code segment "str += column.Name + column.Exp + symbol", where symbol is the SQL value expression obtained through column.convert() (instead of the ? placeholder). It is recommended to use parameterized writing.
The text was updated successfully, but these errors were encountered:
When I made a query request to the Go backend built with sponge for the value, I encountered a problem where Chinese characters would cause encoding errors and result in query failure. I roughly identified the issue to be in the code segment "str += column.Name + column.Exp + symbol", where symbol is the SQL value expression obtained through column.convert() (instead of the ? placeholder). It is recommended to use parameterized writing.
The text was updated successfully, but these errors were encountered: