docs: function(key) {
        var that = this;
  
        if (!this._key || !key) {
          return Promise.reject(new Error('No unique key specified'));
        }
  
        return this.readByKey(key).then(function(doc) {
          return that.delete(doc[that._dbType.id]);
        });
      }