src/bbn/db.php
public function change(string $db): self
  {
    if ( $this->language->change($db) ){
      $this->current = $db;
    }
    return $this;
  }
public function change(string $db): self
  {
    if ( $this->language->change($db) ){
      $this->current = $db;
    }
    return $this;
  }
public function change ( string $ db ) : self { if ( $ this -> language -> change ( $ db ) ) { $ this -> current = $ db ; } return $ this ; }
Changes the database used to the given one.

```php
$db = new db();
x::dump($db->change('db_example'));
// (db)
```

@param string $db The database's name
@return self
Changes the database used to the given one .