_.forEach( this.filter, function( v, i ) {
        if ( _.isFunction(v) ) {
            query[i] = v(resource,req);
        } else {
            query[i] = v;