CacheDb::rm PHP Method

rm() public method

删除缓存
public rm ( string $name ) : boolen
$name string 缓存变量名
return boolen
    public function rm($name)
    {
        $name = $this->options['prefix'] . addslashes($name);
        return $this->handler->execute('DELETE FROM `' . $this->options['table'] . '` WHERE `cachekey`=\'' . $name . '\'');
    }