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
Each driver supports different bind options, JDBC supports array, objects and so on. At the moment, you use the SqlPreparedStatement interface but this requires a cast in the binders parameter:
overridefunexecute(
...,
binders: (SqlPreparedStatement.() ->Unit)?// base interface, not the driver specific implementation
)
driver.execute(1750187992, """INSERT INTO foo VALUES ($1, $2, $3, $4, $5, $6, $7, $8)""", 8) {
check(thisisPostgresPreparedStatement)
bindUUID(7, uuid)
}
Description
Each driver supports different bind options, JDBC supports array, objects and so on. At the moment, you use the
SqlPreparedStatement
interface but this requires a cast in thebinders
parameter:Idea:
The text was updated successfully, but these errors were encountered: