Flowdock
method

delete

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: SDBM
delete(p1) public

Deletes the key-value pair corresponding to the given key. If the key exists, the deleted value will be returned, otherwise nil.

If a block is provided, the deleted key and value will be passed to the block as arguments. If the key does not exist in the database, the value will be nil.

Show source
Register or log in to add new notes.