mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Replace addCustomXxxFunction with single addCustomFunction
#7400
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?
Originally created by @janedbal on GitHub (Aug 2, 2024).
I don't understand what is the
addCustom*Functionactually distinguishing. All those methods inDoctrine\ORM\Query\Parserdo the same thing:CustomFunctionsReturningStringsCustomFunctionsReturningNumericsCustomFunctionsReturningDatetimeFeels like it actually does nothing and thus there could be only single
addCustomFunctionmethod. Am I correct or did I miss something?Originally asked in https://github.com/doctrine/orm/issues/11537#issuecomment-2228600289