I don't like relying on positional parameters, is it possible to do so with HDBC?
I could see passing [(String, SqlValue)]
instead of [SqlValue]
as arguments to the various executing functions of this package.
In a nutshell, I'd rather
select
t.f1
, t.f2
, t.f3
from
schema.table t
where
t.f1 > @param1
and t.f2 < @param2
than
select
t.f1
, t.f2
, t.f3
from
schema.table t
where
t.f1 > ?
and t.f2 < ?