orWhereNotExists method
QueryBuilderInterface<T>
orWhereNotExists(
- String callback(
- QueryBuilderInterface query
override
OR WHERE NOT EXISTS (subquery)
Implementation
@override
QueryBuilderInterface<T> orWhereNotExists(
String Function(QueryBuilderInterface<dynamic> query) callback,
) {
final query = QueryBuilder<dynamic>(connection, grammar, '');
callback(query);
_wheres.add({
'type': 'NotExists',
'query': query,
'boolean': 'OR',
});
_whereBindings.addAll(query.bindings);
return this;
}