def wrap(self, value):
        """
        Wrap the given value with the parent's query grammar.

        :rtype: str
        """
        return self._parent.new_query().get_query().get_grammar().wrap(value)