code: function (type, dataset, options) {
              var ds = this._compoundFromSelf().mergeOptions({compounds: (array.toArray(this.__opts.compounds || [])).concat([
                  [type, dataset._compoundFromSelf(), options.all]
              ])});
              return options.fromSelf === false ? ds : ds.fromSelf(options);
          }
docs: Add the dataset to the list of compounds
  
  @param {String} type the type of compound (i.e. "union", "intersect")
  @param {patio.Dataset} dataset the dataset to add to
  @param [Object] [options={}] compound option to use (i.e {all : true})
  
  @return {patio.Dataset} ds with the dataset added to the compounds.