Delete removes the specified key from the bucket. Deleting a key that does not exist does not return an error.
Returns the following errors as required by the interface contract:
- ErrKeyRequired if the key is empty - ErrIncompatibleValue if the key is the same as an existing bucket - ErrTxNotWritable if attempted against a read-only transaction - ErrTxClosed if the transaction has already been closed
This function is part of the database.Bucket interface implementation.