Module storm

Interface QueryBuilder.PredicateBuilder<T extends Record,R,ID>

Type Parameters:
T - the type of the table being queried.
R - the type of the result.
ID - the type of the primary key.
Enclosing class:
QueryBuilder<T extends Record,R,ID>

public static interface QueryBuilder.PredicateBuilder<T extends Record,R,ID>
A builder for constructing the predicates of the WHERE clause of the query.
  • Method Details

    • and

      Adds a predicate to the WHERE clause using an AND condition.

      This method combines the specified predicate with existing predicates using an AND operation, ensuring that all added conditions must be true.

      Parameters:
      predicate - the predicate to add.
      Returns:
      the predicate builder.
    • or

      Adds a predicate to the WHERE clause using an OR condition.

      This method combines the specified predicate with existing predicates using an OR operation, allowing any of the added conditions to be true.

      Parameters:
      predicate - the predicate to add.
      Returns:
      the predicate builder.