public function testRemove() { $this->rediska->setToHash('test', 'a', 1); $reply = $this->hash->remove('a'); $this->assertTrue($reply); $reply = $this->rediska->getFromHash('test', 'a'); $this->assertNull($reply); }
public function ulistDelete($ulistKey, $safeKey) { $MSet = new Rediska_Key_Hash($ulistKey); $MSet->setRediska($this->Rediska); return $MSet->remove($safeKey); }