We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e42ce94 commit 283d9d8Copy full SHA for 283d9d8
src/Sql/Platform/AbstractSqlRenderer.php
@@ -121,10 +121,9 @@ public function renderTableSource(
121
}
122
123
if ($table instanceof TableIdentifier) {
124
- $rendered = $this->platform->quoteIdentifier(
125
- name: $table->table,
126
- prefix: $table->schema,
127
- );
+ $rendered = $table->schema === null
+ ? ($this->identifier[$table->table] ??= $this->platform->quoteIdentifier($table->table))
+ : $this->platform->quoteIdentifier(name: $table->table, prefix: $table->schema);
128
} elseif ($table instanceof Select) {
129
$rendered = '(' . $this->processSubSelect($table) . ')';
130
} elseif (is_string($table)) {
0 commit comments