Ticket #1364 (closed defect: fixed)

Opened 11 months ago

Last modified 10 months ago

COALESCE doesn't work in DQL select queries

Reported by: argasek Owned by: jwage
Priority: major Milestone:
Component: Connection Version: 1.0.0
Severity: Keywords: coalesce
Cc: Has Test: no
Status: Pending Core Response Has Patch: yes

Description

COALESCE is widely supported by SQL servers (see:  NVL, ISNULL, IFNULL and COALESCE), so, here's a patch for generic support (however, tested only with PostgreSQL).

Apply against Doctrine/Expression/Driver.php.

Attachments

coalesce_support.patch (408 bytes) - added by argasek 11 months ago.
Make COALESCE SQL function supported

Change History

Changed 11 months ago by argasek

Make COALESCE SQL function supported

Changed 10 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [4810]) fixes #1364

Changed 10 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Note: See TracTickets for help on using tickets.