java.lang.Object
io.helidon.dbclient.DbStatementParameters
- Direct Known Subclasses:
DbIndexedStatementParameters
,DbNamedStatementParameters
Statement parameters.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DbStatementParameters
Undefined parameters (neither named or indexed). -
Method Summary
Modifier and TypeMethodDescriptionAdd next parameter to the list of ordered parameters (e.g.Add next parameter to the map of named parameters (e.g.
-
Field Details
-
UNDEFINED
Undefined parameters (neither named or indexed).
-
-
Method Details
-
addParam
Add next parameter to the list of ordered parameters (e.g. the ones that use?
in SQL).- Parameters:
parameter
- next parameter to set on this statement- Returns:
- updated db statement
-
addParam
Add next parameter to the map of named parameters (e.g. the ones that use:name
in Helidon JDBC SQL integration).- Parameters:
name
- name of parameterparameter
- value of parameter- Returns:
- updated db statement
-