public function whichDB($db_name)
    {
        if ($this->connection->tableExists($db_name . $this->connection->sep() . $this->name)) {
            $this->fq_name = $db_name . $this->connection->sep() . $this->name;
            return true;
        } else {
            return false;
        }
    }
public function whichDB($db_name)
    {
        if ($this->connection->tableExists($db_name . $this->connection->sep() . $this->name)) {
            $this->fq_name = $db_name . $this->connection->sep() . $this->name;
            return true;
        } else {
            return false;
        }
    }
public function whichDB ( $ db_name ) { if ( $ this -> connection -> tableExists ( $ db_name . $ this -> connection -> sep ( ) . $ this -> name ) ) { $ this -> fq_name = $ db_name . $ this -> connection -> sep ( ) . $ this -> name ; return true ; } else { return false ; } }
Manually set which database contains this table. Normally
this is autodetected by the constructor.
@param $db_name [string] database name
@return [boolean] success/failure
Manually set which database contains this table . Normally this is autodetected by the constructor .