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
The function sqlx.Named seems to be registering extra bind variables. For example, if I do the following:
sqlx.Named(`select id, title, 'http://example.com' as link from mytable where id = (:input_id)`, map[string]interface{}{"input_id": 1})
I will get the following names
[]string{"", "input_id"}
which means sqlx.Named incorrectly identified the colon in 'http://example.com' as a beginning of a named argument. Is there a way to fix this or perhaps a workaround to this, as I do have regex + hardcoded urls in my CTE.
The text was updated successfully, but these errors were encountered:
The function
sqlx.Named
seems to be registering extra bind variables. For example, if I do the following:I will get the following names
which means
sqlx.Named
incorrectly identified the colon in'http://example.com'
as a beginning of a named argument. Is there a way to fix this or perhaps a workaround to this, as I do have regex + hardcoded urls in my CTE.The text was updated successfully, but these errors were encountered: