...
Same as kvread but removes the value from the store.If the named store is empty, the store will be removed.
Code Block |
---|
#PARSER PQL
#RUNQUERY
timer = TIMER({
period = 1000,
source = 'timersource'
}
)
Map1 = MAP({
expressions = [
'kvwrite("10","1",1)',
['kvread("10","1")','out'],
'kvremove("10","1")',
['kvread("10","1")','ShouldBeNull']
]
},
timer
)
Map2 = MAP({
expressions = [
'kvwrite("1",1)',
['kvread("1")','out'],
'kvremove("1")',
['kvread("1")','ShouldBeNull']
]
},
timer
) |