public function createDb($name)
    {
        $sql = $this->query->createDb($name);
        $this->db->exec($sql);

        return true;
    }
public function createDb($name)
    {
        $sql = $this->query->createDb($name);
        $this->db->exec($sql);

        return true;
    }
public function createDb ( $ name ) { $ sql = $ this -> query -> createDb ( $ name ) ; $ this -> db -> exec ( $ sql ) ; return true ; }
Creating database if not exists.

@param $name name of database

@return bool
Creating database if not exists .