code: function recursivelyMatch(className, where) {
    debugPrint('MATCH', { className, where });
    const collection = getCollection(className);
    // eslint-disable-next-line no-use-before-define
    const matches = _.filter(_.values(collection), queryFilter(where));
    debugPrint('MATCHES', { matches });
    return _.cloneDeep(matches); // return copies instead of originals
  }
docs: Given a class name and a where clause, returns DB matches by applying
  the where clause (recursively if nested)