mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #372] [MERGED] [DDC-1845] QuoteStrategy #8094
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/372
Author: @FabioBatSilva
Created: 6/12/2012
Status: ✅ Merged
Merged: 6/25/2012
Merged by: @guilhermeblanco
Base:
master← Head:DDC-1845📝 Commits (10+)
9f297c3first tests for DefaultQuoteStrategy2b4c29etests for default strategy1bcda51inject quote strategy into sql walkerd49a968tests for DDC-1719db53b86apply quote strategy at sqlwalker505bdb9missing files5d665b5remove getQuotedIdentifierColumnNames2af7b3fuse quote strategy in BasicEntityPersister7f64474use quote strategy in persister36296a3use quote strategy in JoinedSubclassPersister📊 Changes
30 files changed (+1817 additions, -465 deletions)
View changed files
📝
lib/Doctrine/ORM/Configuration.php(+28 -0)📝
lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php(+49 -16)📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+69 -18)➕
lib/Doctrine/ORM/Mapping/DefaultQuoteStrategy.php(+140 -0)➕
lib/Doctrine/ORM/Mapping/QuoteStrategy.php(+112 -0)📝
lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php(+19 -3)📝
lib/Doctrine/ORM/Persisters/AbstractEntityInheritancePersister.php(+1 -1)📝
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(+97 -61)📝
lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php(+11 -11)📝
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php(+12 -12)📝
lib/Doctrine/ORM/Persisters/OneToManyPersister.php(+3 -3)📝
lib/Doctrine/ORM/Query/AST/Functions/SizeFunction.php(+16 -15)📝
lib/Doctrine/ORM/Query/Exec/MultiTableDeleteExecutor.php(+11 -10)📝
lib/Doctrine/ORM/Query/Exec/MultiTableUpdateExecutor.php(+12 -12)📝
lib/Doctrine/ORM/Query/SqlWalker.php(+270 -238)📝
lib/Doctrine/ORM/Tools/SchemaTool.php(+71 -61)➕
tests/Doctrine/Tests/Models/Quote/Address.php(+54 -0)➕
tests/Doctrine/Tests/Models/Quote/Group.php(+42 -0)➕
tests/Doctrine/Tests/Models/Quote/Phone.php(+24 -0)➕
tests/Doctrine/Tests/Models/Quote/SimpleEntity.php(+32 -0)...and 10 more files
📄 Description
QuoteStrategy
http://www.doctrine-project.org/jira/browse/DDC-1845
This patch fix some quote problems using a default quote strategy and allows users find solutions themselves for weird quote cases.
This DBAL PR shoud be merged to fix sqlite tests in : https://github.com/doctrine/dbal/pull/158
There is a lote of new method calls, the performance tests in sqlite are the following :
My branch :
Doctrine Master :
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.