Returns the iterable as a SQL tuple.

def to_tuple(self, iterable, surround="()", joiner=", "):
    """Returns the iterable as a SQL tuple."""
    return "{0}{1}{2}".format(surround[0], joiner.join(iterable), surround[1])