code: def get_cache(self, namespace, query_hash, length, start, end):
          
          query = 'SELECT start, value FROM gauged_cache WHERE namespace = ? ' \
              'AND hash = ? AND length = ? AND start BETWEEN ? AND ?'
          cursor = self.cursor
          cursor.execute(query, (namespace, query_hash, length, start, end))
          return tuple(cursor.fetchall())
docs: Get a cached value for the specified date range and query