'Convert ``value`` from the ``write`` format to the SQL format.'

def convert_to_column(self, value, record):

    if ((value is None) or (value == False)):
        return None
    if isinstance(value, unicode):
        return value.encode('utf8')
    return str(value)
