libs/apollo.js
function(callback){
        var on_keyspace = function(err){
            if(err){ return callback(err);}
            this._set_client(new cql.Client(this._connection));
            callback(err, this);
        };

        if(this._keyspace){
            this._assert_keyspace( on_keyspace.bind(this) );
        }else{
            on_keyspace.call(this);
        }
    }
function(callback){
        var on_keyspace = function(err){
            if(err){ return callback(err);}
            this._set_client(new cql.Client(this._connection));
            callback(err, this);
        };

        if(this._keyspace){
            this._assert_keyspace( on_keyspace.bind(this) );
        }else{
            on_keyspace.call(this);
        }
    }
function ( callback ) { var on_keyspace = function ( err ) { if ( err ) { return callback ( err ) ; } this . _set_client ( new cql . Client ( this . _connection ) ) ; callback ( err , this ) ; } ; if ( this . _keyspace ) { this . _assert_keyspace ( on_keyspace . bind ( this ) ) ; } else { on_keyspace . call ( this ) ; } }
Connect your instance of Apollo to Cassandra
@param  {Apollo~onConnect} callback Callback on connection result
Connect your instance of Apollo to Cassandra