lib/cql.js
function quote(s) {
    if (typeof(s) === 'string') {
        return "'" + s.replace(/'/g, "''") + "'";
    } else if (s instanceof Array) {
        return _.map(s, quote).join(', ');
    }

    return s;
}
function quote(s) {
    if (typeof(s) === 'string') {
        return "'" + s.replace(/'/g, "''") + "'";
    } else if (s instanceof Array) {
        return _.map(s, quote).join(', ');
    }

    return s;
}
function quote ( s ) { if ( typeof ( s ) === 'string' ) { return "'" + s . replace ( / ' / g , "''" ) + "'" ; } else if ( s instanceof Array ) { return _ . map ( s , quote ) . join ( ', ' ) ; } return s ; }
escape all single-quotes on strings...
escape all single - quotes on strings ...