anchor.diff:              'Server returned response with less entities then the limit was, '
               'but signals there are more results after the limit.');
         }
  +      */
   
         // In case a limit was specified, we need to subtraction the number of
         // entities we already got.
  
positive.code:         remainingEntities = limit - returnedEntities.length;
        }
  
        bool isLast = ((limit != null && remainingEntities == 0) ||
                       response.batch.moreResults == 'NO_MORE_RESULTS');
  
        if (!isLast && response.batch.endCursor == null) {
          throw new datastore.DatastoreError(
  
negative.code:             '(${request.query.limit}) was.');
        }
  
  
        // FIXME: TODO: Big hack!
        // It looks like Apiary/Atlas is currently broken.
        /*
        if (limit != null &&
            returnedEntities.length < batchLimit &&
            response.batch.moreResults == 'MORE_RESULTS_AFTER_LIMIT') {
  