[PR #288] [MERGED] DDC 775 #7975

Open
opened 2026-01-22 15:57:48 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/288
Author: @FabioBatSilva
Created: 2/16/2012
Status: Merged
Merged: 3/22/2012
Merged by: @beberlei

Base: masterHead: DDC-775


📝 Commits (5)

  • ce9643b Order by clause support functions
  • df06322 Order by clause support case expressions
  • 797c9cf supports simple math operator
  • e46275e remove case expressions and functions support
  • 84b3171 fix indentation

📊 Changes

3 files changed (+51 additions, -6 deletions)

View changed files

📝 lib/Doctrine/ORM/Query/Parser.php (+29 -4)
📝 lib/Doctrine/ORM/Query/SqlWalker.php (+2 -2)
📝 tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php (+20 -0)

📄 Description

Hello

http://www.doctrine-project.org/jira/browse/DDC-775

This patch adds support for arithmetic expression, case expression and functions on DQL ORDER BY clause.

Please let me know if can I make something better :)

Thanks


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/288 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 2/16/2012 **Status:** ✅ Merged **Merged:** 3/22/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `DDC-775` --- ### 📝 Commits (5) - [`ce9643b`](https://github.com/doctrine/orm/commit/ce9643bce1eafc76897f3c6183f9f76b106a825f) Order by clause support functions - [`df06322`](https://github.com/doctrine/orm/commit/df0632258a2204bc5f81fb835c7f7ff4af79b3f7) Order by clause support case expressions - [`797c9cf`](https://github.com/doctrine/orm/commit/797c9cf70e517a206e88ef1d25059c0f04749762) supports simple math operator - [`e46275e`](https://github.com/doctrine/orm/commit/e46275e80df1253112593b6a82a0c955e100dd43) remove case expressions and functions support - [`84b3171`](https://github.com/doctrine/orm/commit/84b31714a66f72c6f9857b8c806980007bfec3fb) fix indentation ### 📊 Changes **3 files changed** (+51 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Query/Parser.php` (+29 -4) 📝 `lib/Doctrine/ORM/Query/SqlWalker.php` (+2 -2) 📝 `tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php` (+20 -0) </details> ### 📄 Description Hello http://www.doctrine-project.org/jira/browse/DDC-775 This patch adds support for arithmetic expression, case expression and functions on DQL ORDER BY clause. Please let me know if can I make something better :) Thanks --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:57:48 +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#7975