create (name, record, opts) {
    opts || (opts = {})
    return Container.prototype.create.call(this, name, record, opts)
      .then((result) => this._end(name, result, opts))
  }
Wrapper for {@link Mapper#create}. Adds the created record 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.create('book', {
  author_id: 1234,
  edition: 'First Edition',
  title: 'Respect your Data'
}).then((book) => {
  console.log(book.id); // 120392
  console.log(book.title); // "Respect your Data"
});

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