Project

General

Profile

Evolution #11023

Add alias to sql request like in doctrine

Added by Erwan L. over 3 years ago. Updated 11 months ago.

Status:
En cours
Priority:
Normal
Assignee:
Jérome A.
Category:
Core
Target version:
Start date:
11/09/2017
Due date:
% Done:

50%

Estimated time:
(Total: 0.00 h)
Bdc:

Description

In doctrine when we create a sql request with querybuilder, doctrine add alias to table and column like this:

SELECT t0.username AS username_1, t0.username_canonical AS username_canonical_2, t0.email AS email_3, t4.path AS path_5
FROM user t0 LEFT JOIN config t4 ON t4.user_id = t0.id WHERE t0.id = ? 


Recurrences


Subtasks

Evolution #11208: Add tests for query builder and query objectEn coursJérome A.


Related issues

Related to Harmony - Evolution #15537: Update Contract method to get aliased colsFermé2019-06-20

History

#10Updated by Jérome A. about 3 years ago

Appliqué par commit commit:origin|284abc736f9ef7770cadf81cd60fd26e22b1ae60.

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)