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 parameters:
- params
parameters
Executes statement with parameters and passes Execution to supplied function.
Executes statement with parameters and passes Execution to supplied function.
- Value parameters:
- 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 parameters:
- 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 parameters:
- 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 parameters:
- 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 parameters:
- 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 parameters:
- f
function
- params
parameters
Sets parameter at index to given value.
Sets parameter at index to given value.
- Value parameters:
- index
parameter index
- value
parameter value
Sets parameter to given Instant
.
Sets parameter to given Instant
.
- Value parameters:
- index
parameter index
- value
parameter value
Sets parameter to given LocalDate
.
Sets parameter to given LocalDate
.
- Value parameters:
- index
parameter index
- value
parameter value
Sets parameter to given LocalDateTime
.
Sets parameter to given LocalDateTime
.
- Value parameters:
- index
parameter index
- value
parameter value