Libraries v5.0.0
    Preparing search index...

    Function or

    • Combine one or more predicates into a parenthesized SQL OR group. Nesting preserves explicit grouping independently of SQL operator precedence.

      Parameters

      Returns JoinPredicate

      If no predicates are supplied.

      or(eq(t.task.ownerId, t.owner.id), eq(t.task.approverId, t.owner.id))