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
plugin: pass the placeholder's name on Parameter rather than a flag
The name a placeholder carries, @name or {name:Type}, is what the
driver binds by, so the plugin Parameter carries it as name, collected
from the query's ParamRef nodes by the compiler rather than taken from
the analyzer, which also names a parameter after the function it is
compared with. The Go codegen passes it to sql.Named instead of the
column's name.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT
0 commit comments