Interface Params

All Superinterfaces:
Iterable<Param>
All Known Implementing Classes:
ParamsOf

public interface Params extends Iterable<Param>
Query Params.

There is no thread-safety guarantee.

Since:
0.1
  • Method Details

    • prepare

      Set the PreparedStatement with all query parameters.
      Parameters:
      stmt - The PreparedStatement
      Returns:
      The setted PreparedStatement
      Throws:
      Exception - If fails
    • contains

      boolean contains(String name, int index)
      Check if Params contains a param at position.
      Parameters:
      name - The name of the parameter
      index - The position of the parameter in the PreparedStatement
      Returns:
      True if contains or false if don't