lib/simple-vertec-query.js
SimpleVertecQuery
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class SimpleVertecQuery {
/**
* Sets global api for every instance
*
* @param {SimpleVertecApi} api An instance of SimpleVertecApi
Function get
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
get(refresh = false) {
if (this.options.useParallelMode && this.options.query.objref) {
let ids = _.isArray(this.options.query.objref) ? _.clone(this.options.query.objref) : [this.options.query.objref];
return q.map(ids, id => {