Combine one or more predicates into a parenthesized SQL OR group. Nesting preserves explicit grouping independently of SQL operator precedence.
If no predicates are supplied.
or(eq(t.task.ownerId, t.owner.id), eq(t.task.approverId, t.owner.id)) Copy
or(eq(t.task.ownerId, t.owner.id), eq(t.task.approverId, t.owner.id))
Combine one or more predicates into a parenthesized SQL OR group. Nesting preserves explicit grouping independently of SQL operator precedence.