@classmethod
def random(cls, collection):
    """
            Returns a random document from a collection.

            :param collection Collection instance

            :returns document
        """
    return cls._construct_query(name='any', collection=collection)
