Actions
Bug #20137
closedDBAL where clauses not handled correctly
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2009-03-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When you have something like
marks.CONTENT = CONTENT
marks.CONTENT.table = tt_content
marks.CONTENT.select {
pidInList = this
orderBy = sorting
where = colPos=0
andWhere = header <> ''
languageField = sys_language_uid
}
it works with MySQL but not with DBAL. I guess that the SQL parameters are not passed correctly. I don't get any syntax working.
DBAL keeps telling me
Warning: Invalid argument supplied for foreach() in /cms/typo3conf/ext/dbal/class.ux_t3lib_db.php on line 966
Any ideas how to use more complex SQL queries with dbal?
(issue imported from #M10620)
Actions