Interface Params
- All Known Implementing Classes:
ParamsOf
Query Params.
There is no thread-safety guarantee.
- Since:
- 0.1
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if Params contains a param at position.prepare
(PreparedStatement stmt) Set the PreparedStatement with all query parameters.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
prepare
Set the PreparedStatement with all query parameters.- Parameters:
stmt
- The PreparedStatement- Returns:
- The setted PreparedStatement
- Throws:
Exception
- If fails
-
contains
Check if Params contains a param at position.- Parameters:
name
- The name of the parameterindex
- The position of the parameter in the PreparedStatement- Returns:
- True if contains or false if don't
-