code: func (tx *tx) delete(table, id string) error {
  	n := tx.lookup(table, indexID, id)
  	if n == nil {
  		return ErrNotExist
  	}
  
  	err := tx.memDBTx.Delete(table, n)
  	if err == nil {
  		tx.changelist = append(tx.changelist, n.EventDelete())
  	}
  	return err
  }
docs: // Delete removes an object from the store.
  // Returns ErrNotExist if the object doesn't exist.