Libraries v5.0.0
    Preparing search index...

    Function and

    • Combine one or more predicates into a parenthesized SQL AND group. Groups may contain nested and()/or() calls at any depth.

      Parameters

      Returns JoinPredicate

      If no predicates are supplied.

      and(eq(t.task.ownerId, t.owner.id), or(eq(t.task.id, t.owner.id), eq(t.task.ownerId, t.owner.managerId)))