def RangePrimaryKeyValues(self, start_key, end_key, select=None):
    attrs = self._attrs.copy()
    attrs['where'] = self.GenerateRangeWhere(start_key, end_key)
    attrs['select'] = select or self._PrimaryKeyForSelect()
    sql = ('SELECT %(select)s '
           'FROM %(db)s.%(table)s FORCE INDEX (PRIMARY) '
           'WHERE %(where)s')
    res = self._dbh.ExecuteOrDie(sql % attrs)
    if res:
      return res
Return rows between start_key (inclusive) and end_key (inclusive).
dataset/ETHPy150Open google/mysql-tools/pylib/range_lib.py/PrimaryKeyRange.RangePrimaryKeyValues