PreparedStatementMethods
Provides extension methods for java.sql.PreparedStatement
.
- See also
StatementMethods
Value members
Concrete methods
Adds parameters to batch of commands.
Adds parameters to batch of commands.
- Value Params
- params
parameters
Executes statement with parameters and passes Execution to supplied function.
Executes statement with parameters and passes Execution to supplied function.
- Value Params
- f
function
- params
parameters
Executes query with parameters and maps first row of ResultSet using supplied function.
Executes query with parameters and maps first row of ResultSet using supplied function.
If the result set is not empty, and if the supplied function's return
value is not null, then Some
value is returned; otherwise, None
is
returned.
- Value Params
- f
map function
- params
parameters
Executes query and builds a collection using the elements mapped from each row of ResultSet.
Executes query and builds a collection using the elements mapped from each row of ResultSet.
- Value Params
- f
map function
- params
parameters
Executes query with parameters and invokes supplied function for each row of ResultSet.
Executes query with parameters and invokes supplied function for each row of ResultSet.
- Value Params
- f
function
- params
parameters
Executes query with parameters and maps each row of ResultSet using supplied function.
Executes query with parameters and maps each row of ResultSet using supplied function.
- Value Params
- f
map function
- params
parameters
Executes query with parameters and passes ResultSet to supplied function.
Executes query with parameters and passes ResultSet to supplied function.
- Value Params
- f
function
- params
parameters
Sets parameter at index to given value.
Sets parameter at index to given value.
- Value Params
- index
parameter index
- value
parameter value
Sets parameter to given Instant
.
Sets parameter to given Instant
.
- Value Params
- index
parameter index
- value
parameter value
Sets parameter to given LocalDate
.
Sets parameter to given LocalDate
.
- Value Params
- index
parameter index
- value
parameter value
Sets parameter to given LocalDateTime
.
Sets parameter to given LocalDateTime
.
- Value Params
- index
parameter index
- value
parameter value