protected function resolveTableNames($table, $name)
    {
        $parts = explode('.', str_replace('"', '', $name));

        if (isset($parts[1])) {
            $table->schemaName = $parts[0];
            $table->name = $parts[1];
        } else {
            $table->schemaName = $this->defaultSchema;
            $table->name = $parts[0];
        }

        $table->fullName = $table->schemaName !== $this->defaultSchema ? $table->schemaName . '.' . $table->name : $table->name;
    }
protected function resolveTableNames($table, $name)
    {
        $parts = explode('.', str_replace('"', '', $name));

        if (isset($parts[1])) {
            $table->schemaName = $parts[0];
            $table->name = $parts[1];
        } else {
            $table->schemaName = $this->defaultSchema;
            $table->name = $parts[0];
        }

        $table->fullName = $table->schemaName !== $this->defaultSchema ? $table->schemaName . '.' . $table->name : $table->name;
    }
protected function resolveTableNames ( $ table , $ name ) { $ parts = explode ( '.' , str_replace ( '"' , '' , $ name ) ) ; if ( isset ( $ parts [ 1 ] ) ) { $ table -> schemaName = $ parts [ 0 ] ; $ table -> name = $ parts [ 1 ] ; } else { $ table -> schemaName = $ this -> defaultSchema ; $ table -> name = $ parts [ 0 ] ; } $ table -> fullName = $ table -> schemaName !== $ this -> defaultSchema ? $ table -> schemaName . '.' . $ table -> name : $ table -> name ; }
Resolves the table name and schema name (if any).
@param TableSchema $table the table metadata object
@param string $name the table name
Resolves the table name and schema name ( if any ) .