there exists rpc command htable.delete that can be used to delete a key from htable. is there a way to delete a key in the config file like assigning $null to it or do i need to use sht_rm_name_re function that feels like an overkill?
-- juha
Hello,
On 12/05/15 16:32, Juha Heinanen wrote:
there exists rpc command htable.delete that can be used to delete a key from htable. is there a way to delete a key in the config file like assigning $null to it or do i need to use sht_rm_name_re function that feels like an overkill?
assigning $null to $sht(...) will remove the item from hash table.
Cheers, Daniel
Daniel-Constantin Mierla writes:
there exists rpc command htable.delete that can be used to delete a key from htable. is there a way to delete a key in the config file like assigning $null to it or do i need to use sht_rm_name_re function that feels like an overkill?
assigning $null to $sht(...) will remove the item from hash table.
Ok thanks. I tried to find about that in pv wiki. I'll check again and if is is not mentioned, I'll add it.
-- Juha
Juha Heinanen writes:
assigning $null to $sht(...) will remove the item from hash table.
Ok thanks. I tried to find about that in pv wiki. I'll check again and if is is not mentioned, I'll add it.
I added note about $null assignment. While doing it, I noticed that there is nothing on the wiki page about accessing array keys entries.
-- Juha
On 13/05/15 06:59, Juha Heinanen wrote:
Juha Heinanen writes:
assigning $null to $sht(...) will remove the item from hash table.
Ok thanks. I tried to find about that in pv wiki. I'll check again and if is is not mentioned, I'll add it.
I added note about $null assignment. While doing it, I noticed that there is nothing on the wiki page about accessing array keys entries.
Just add content to the docs about what you find missing.
Cheers, Daniel