whole_func_string: function diff(datasetClientJson, localRecords, next) {
        var recordsDiff = diffRecords(syncUtil.convertToObject(localRecords), syncUtil.convertToObject(records));
        return next(null, datasetClientJson, recordsDiff);
      }
func_code_string: function diff(datasetClientJson, localRecords, next) {
        var recordsDiff = diffRecords(syncUtil.convertToObject(localRecords), syncUtil.convertToObject(records));
        return next(null, datasetClientJson, recordsDiff);
      }
func_documentation_string: to reduce the number of db operations, we try to compute only the records that need to be changed here.