countWithFinder method

Future<int> countWithFinder(
  1. Finder finder
)

Count records matching the given finder.

Implementation

Future<int> countWithFinder(Finder finder) async {
  return _collection.query(finder: finder).count(_database);
}