dataIncludeQryStr(include) {
          let res = '';

          if (include && Array.isArray(include) && include.length > 0 && include[0]) {
            res = _.reduce(include, (accum, val) => `${accum}${accum ? '&' : ''}filter[include]=${val}`, '');
          }

          return res;
        }
/**
         * Given an array of relation keys return the LoopBack query string fragment for including the related data during retrieval
         * @param {array} include Array of strings specifying the relations to include. These strings are the keys in a model's "relations" sub-object
         * @returns LoopBack query string fragment for including related data
         */
Given an array of relation keys return the LoopBack query string fragment for including the related data during retrieval
@param {array} include Array of strings specifying the relations to include. These strings are the keys in a model's "relations" sub-object
@returns LoopBack query string fragment for including related data
Given an array of relation keys return the LoopBack query string fragment for including the related data during retrieval @param { array } include Array of strings specifying the relations to include . These strings are the keys in a model ' s " relations " sub - object @returns LoopBack query string fragment for including related data
dataIncludeQryStr(include) {
          let res = '';
          if (include && Array.isArray(include) && include.length > 0 && include[0]) {
            res = _.reduce(include, (accum, val) => `${accum}${accum ? '&' : ''}filter[include]=${val}`, '');
          }
          return res;
        }
dataIncludeQryStr ( include ) { let res = '' ; if ( include && Array . isArray ( include ) && include . length > 0 && include [ 0 ] ) { res = _ . reduce ( include , ( accum , val ) => ` ${ accum } ${ accum ? '&' : '' } ${ val } ` , '' ) ; } return res ; }
Given an array of relation keys return the LoopBack query string fragment for including the related data during retrieval
 @param {array} include Array of strings specifying the relations to include.
Given an array of relation keys return the LoopBack query string fragment for including the related data during retrieval @param { array } include Array of strings specifying the relations to include .