JDatabaseQuery delete function not behaving correctly for join conditions #1286

Closed
rredpoppy opened this Issue Jun 16, 2012 · 3 comments

Projects

None yet

3 participants

@rredpoppy

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.

@eddieajau eddieajau was assigned Jun 16, 2012
@elinw

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

@rredpoppy

Me neither..

@eddieajau

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.

@eddieajau eddieajau closed this Apr 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment