Project

General

Profile

Actions

Bug #22640

closed

Mapping does not work with table alias

Added by Michael Miousse over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-05-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

when you have a query like this:

select c.fieldTomap from tableToMap as c where c.fieldTomap = 1

the field "fieldTomap" will not be mapped.

A work around could be to map the field using c as a table name but this is a dirty work around

I'll have a look at this and submit a patch

(issue imported from #M14372)


Files

bug_0014372.diff (1.17 KB) bug_0014372.diff Administrator Admin, 2010-05-17 17:21
14372_v2.diff (16.6 KB) 14372_v2.diff Administrator Admin, 2010-05-21 12:42
14372_v3.diff (25.4 KB) 14372_v3.diff Administrator Admin, 2010-05-21 18:30
Actions

Also available in: Atom PDF