# WhereClauseType

    public protocol WhereClauseType : AnyWhereClause

Abstracts the `Where` clause for protocol utilities.

- `ObjectType`

  The `DynamicObject` type associated with the clause

  #### Declaration

  Swift

      associatedtype ObjectType : DynamicObject

### WhereClauseType

- `&&(_:_:)` Extension method

  Combines two `Where` predicates together using `AND` operator.

  Warning

  This operator overload is a workaround for Swift generics’ inability to constrain by inheritance (https://bugs.swift.org/browse/SR-5213). In effect, this is less type-safe than other overloads because it allows AND'ing clauses of unrelated `DynamicObject` types.

  #### Declaration

  Swift

      public static func && <TWhere>(left: Self, right: TWhere) -> Self where TWhere : WhereClauseType

- `&&(_:_:)` Extension method

  Combines two `Where` predicates together using `AND` operator.

  Warning

  This operator overload is a workaround for Swift generics’ inability to constrain by inheritance (https://bugs.swift.org/browse/SR-5213). In effect, this is less type-safe than other overloads because it allows AND'ing clauses of unrelated `DynamicObject` types.

  #### Declaration

  Swift

      public static func && <TWhere>(left: TWhere, right: Self) -> Self where TWhere : WhereClauseType

- `||(_:_:)` Extension method

  Combines two `Where` predicates together using `OR` operator.

  Warning

  This operator overload is a workaround for Swift generics’ inability to constrain by inheritance (https://bugs.swift.org/browse/SR-5213). In effect, this is less type-safe than other overloads because it allows OR'ing clauses of unrelated `DynamicObject` types.

  #### Declaration

  Swift

      public static func || <TWhere>(left: Self, right: TWhere) -> Self where TWhere : WhereClauseType

- `||(_:_:)` Extension method

  Combines two `Where` predicates together using `OR` operator.

  Warning

  This operator overload is a workaround for Swift generics’ inability to constrain by inheritance (https://bugs.swift.org/browse/SR-5213). In effect, this is less type-safe than other overloads because it allows OR'ing clauses of unrelated `DynamicObject` types.

  #### Declaration

  Swift

      public static func || <TWhere>(left: TWhere, right: Self) -> Self where TWhere : WhereClauseType