ParameterBinder which enables customizing StatementExecutor#binParams.
val bytes = Array[Byte](1,2,3, ...)
val in = ByteArrayInputStream(bytes)
val bin = ParameterBinder(
value = in,
binder = (stmt, idx) => stmt.setBinaryStream(idx, in, bytes.length)
)
sql"insert into table (bin) values (${bin})".update.apply()
ParameterBinder which enables customizing StatementExecutor#binParams.