createMany (name, records, opts) {
    opts || (opts = {})
    return Container.prototype.createMany.call(this, name, records, opts)
      .then((result) => this._end(name, result, opts))
  }
Wrapper for {@link Mapper#createMany}. Adds the created records to the
store.

@example
import { SimpleStore } from 'js-data';
import { HttpAdapter } from 'js-data-http';

const store = new SimpleStore();
store.registerAdapter('http', new HttpAdapter(), { default: true });

store.defineMapper('book');

// Since this example uses the http adapter, we'll get something like:
//
//   POST /book [{"author_id":1234,...},{...}]
store.createMany('book', [{
  author_id: 1234,
  edition: 'First Edition',
  title: 'Respect your Data'
}, {
  author_id: 1234,
  edition: 'Second Edition',
  title: 'Respect your Data'
}]).then((books) => {
  console.log(books[0].id); // 142394
  console.log(books[0].title); // "Respect your Data"
});

@fires SimpleStore#beforeCreateMany
@fires SimpleStore#afterCreateMany
@fires SimpleStore#add
@method SimpleStore#createMany
@param {string} name Name of the {@link Mapper} to target.
@param {array} records Passed to {@link Mapper#createMany}.
@param {object} [opts] Passed to {@link Mapper#createMany}. See
{@link Mapper#createMany} for more configuration options.
@returns {Promise} Resolves with the result of the create.
@since 3.0.0