async list(request) {
        const filter = {};

        if (request.hasQueryParameter('specifier')) {
            filter.specifier = request.getQueryParameter('specifier');
        }

        const query = this.db.sourceCode('*', filter);

        if (request.hasQueryParameter('dataSetIdentifier')) {
            query.getDataSet({
                identifier: request.getQueryParameter('dataSetIdentifier')
            });
        }

        return query.raw().find();
    }
/**
    * return source code for the compute service
    */
return source code for the compute service
return source code for the compute service
async list(request) {
        const filter = {};
        if (request.hasQueryParameter('specifier')) {
            filter.specifier = request.getQueryParameter('specifier');
        }
        const query = this.db.sourceCode('*', filter);
        if (request.hasQueryParameter('dataSetIdentifier')) {
            query.getDataSet({
                identifier: request.getQueryParameter('dataSetIdentifier')
            });
        }
        return query.raw().find();
    }
async list ( request ) { const filter = { } ; if ( request . hasQueryParameter ( 'specifier' ) ) { filter . specifier = request . getQueryParameter ( 'specifier' ) ; } const query = this . db . sourceCode ( '*' , filter ) ; if ( request . hasQueryParameter ( 'dataSetIdentifier' ) ) { query . getDataSet ( { identifier : request . getQueryParameter ( 'dataSetIdentifier' ) } ) ; } return query . raw ( ) . find ( ) ; }
return source code for the compute service
return source code for the compute service