code: function executeRelated () {
      // skip unless related records are specified by with or resolve
      if (!defined(this.args.with) && !this.args.resolve) {
          return
      }
      // skip if select is only for ids
      if (this.select.isSelectOnlyIds) {
          return
      }
      // add related queries to promise chain
      this.promise = this.promise.then(results => {
          // skip if there are no results
          if (!results.length) {
              return results
          }
          // iterate over results loading related records
          return Promise.map(results, result => this.executeRelatedResult(result), {
              concurrency: this.model.concurrency,
          })
      })
  }
docs: @function executeRelated
  
  add queries for any related models specified by args.with