[PR #12088] Quote parts of the table name #13466

Open
opened 2026-01-22 16:17:11 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/12088

State: closed
Merged: Yes


In #11811, I wrongly assumed that
$tableName would never contain a dot as I was not able to write a test
that caused that to happen.

The secret recipe appears to be to define a schema and to quote the
table name.

Fixes https://github.com/doctrine/orm/issues/12041

**Original Pull Request:** https://github.com/doctrine/orm/pull/12088 **State:** closed **Merged:** Yes --- In #11811, I wrongly assumed that `$tableName` would never contain a dot as I was not able to write a test that caused that to happen. The secret recipe appears to be to define a schema and to quote the table name. Fixes https://github.com/doctrine/orm/issues/12041
admin added the pull-request label 2026-01-22 16:17:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13466