orWhereNotExists method

Query<T> orWhereNotExists(
  1. Query subquery
)

Adds an OR WHERE NOT EXISTS subquery predicate.

This is the OR variant of whereNotExists.

Implementation

Query<T> orWhereNotExists(Query<dynamic> subquery) {
  return _appendPredicate(
    SubqueryPredicate(
      type: SubqueryType.exists,
      subquery: subquery._buildPlan(),
      negate: true,
    ),
    PredicateLogicalOperator.or,
  );
}