src/bbn/db.php
public function clear_cache($item, $mode): self
  {
    $cache_name = $this->_cache_name($item, $mode);
    if ( $this->cache_has($cache_name) ){
      $this->cache_delete($cache_name);
    }
    return $this;
  }
public function clear_cache($item, $mode): self
  {
    $cache_name = $this->_cache_name($item, $mode);
    if ( $this->cache_has($cache_name) ){
      $this->cache_delete($cache_name);
    }
    return $this;
  }
public function clear_cache ( $ item , $ mode ) : self { $ cache_name = $ this -> _cache_name ( $ item , $ mode ) ; if ( $ this -> cache_has ( $ cache_name ) ) { $ this -> cache_delete ( $ cache_name ) ; } return $ this ; }
Deletes a specific item from the cache.

```php
bbn\x::dump($db->clear_cache('db_example','tables'));
// (db)
```

@param string $item 'db_name' or 'table_name'
@param string $mode 'columns','tables' or'databases'
@return self
Deletes a specific item from the cache .