Changes

Jump to navigation Jump to search
318 bytes added ,  15:49, 24 December 2014
Line 191: Line 191:  
If the optional type option is passed, it will be used to create the record if it does not already exist. Otherwise, a non-existent record will cause this method to return an error.
 
If the optional type option is passed, it will be used to create the record if it does not already exist. Otherwise, a non-existent record will cause this method to return an error.
 
Returns 0 for any errors, 1 for success.
 
Returns 0 for any errors, 1 for success.
 +
===== delete_prop =====
 +
        my $dbkey = $db->get("$key");
 +
        $dbkey->delete_prop("$prop");
 +
or 
 +
        db->get("$key")->delete_prop("$prop");
 +
method to delete a propriety $prop of the key $key
 +
 +
===== delete =====
 +
 +
        my $dbkey = $DB->get('$key');
 +
        $dbkey->delete;
 +
 +
a method to delete a key
 +
 
===== keys =====
 
===== keys =====
  

Navigation menu