Go SQL driver for sql.js.
In SQLite's named parameters the prefix (:
, @
, or $
) is included as part of the name.
However Go's database/sql.NamedArg
type specifies that "Name must omit any symbol prefix.".
This makes it impossible for go-sqljs-driver
to bind a different value to named parameters with the same name but a different prefix:
SELECT * FROM example WHERE col1 = :param1 AND col2 = @param1
-- :param1 and @param1 will always have the same value