@staticmethod
def _sql_literal(o):
    """
        Tries to convert a python literal to its SQL equivalent

        :param o: The literal object to ve converted
        :returns: A string containing the object as a SQL literal
        """
    if isinstance(o, str):
        return '"{}"'.format(o)
    else:
        return str(o)
