Skip to content
This repository

JDatabaseQuery delete function not behaving correctly for join conditions #1286

Closed
adrianrosian opened this Issue · 3 comments

3 participants

adrianrosian Andrew Eddie elinw
adrianrosian

The delete method for the object doesn't allow for delete statements using conditions on joined tables because it doesn't allow for extra columns after delete.

For instance, the correct delete statement is:

DELETE a.* FROM table1 AS a LEFT JOIN table2 AS b ON a.bid=b.id WHERE b.status=1

but the delete method does not allow to set columns after DELETE. If this is a specific MySQL implementation, it should at least be implemented in the driver class.

elinw

I'm not sure why this is marked issue fixed when there is no code.

adrianrosian

Me neither..

Andrew Eddie
Owner

I'm sorry but we aren't accepting issues for this repository any more. Please see http://developer.joomla.org/cms/report-an-issue.html for how to report and issue for the CMS Platform.

Andrew Eddie eddieajau closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.