Why doctrine2 not support GROUP_CONCAT(), DATE_FORMAT()?

I'm using Doctrine2 with Laravel5 and MySql and have some problem with GROUP_CONCAT(), DATE_FORMAT().
I have found the solution by install extension Beberlei DoctrineExtensions.
And my question is "Why Doctrine as the big library but not support that normal function in core?"

Upvotes: 0

Views: 100

Answers (1)

O. Jones
O. Jones

Reputation: 108776

Doctrine supports mutiple database engines, not just MySQL.

The functions you mention are specific to MySQL; other database engines don't have them. The core of Doctrine supports multiple engines, and the extension you mention adds MySQL-specific support.

Upvotes: 1

Related Questions