public static String convertToQuotedString(Object value) {
        if (value == null) {
            return NULL_EXPR;
        }

        return new StringBuilder().append('\'').append(ClickHouseUtils.escape(value.toString(), '\'')).append('\'')
                .toString();
    }
Converts object to quoted string.

@param value object may or may not be null
@return quoted string representing the object
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseValues.java