def queryHistory(obj=None, history_id=None, preserve=(), default=None,
    countPurged=True):
    """Return the history of an object.

        Does the same as ``getHistory`` with the difference of returning
        the value supplied with ``default`` instead of raising an exception.

        Also counts purged versions if ``True`` is passed to ``countPurged``
        (see interface documentation for details).
        """
