createBranch method

NSQueryBranch createBranch()

Create a new OR branch. Filters added to the branch are AND-ed.

Implementation

NSQueryBranch createBranch() {
  _checkNotDisposed();
  final branch = ns_query_branch_create(_query);
  final filters = <Filter>[];
  _orBranches.add(filters);
  return NSQueryBranch._(this, branch, filters);
}