?
avatar spignataro
spignataro
20 Feb 2019

https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/database/query.php#L1519

When looking at doing unions we are very limited considering it looks like for many years that union() function in the primary query is still lacking the $glue capability. Is there a reason why we can not set our own glue for our unions?

avatar spignataro spignataro - open - 20 Feb 2019
avatar joomla-cms-bot joomla-cms-bot - change - 20 Feb 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Feb 2019
avatar spignataro spignataro - change - 20 Feb 2019
Title
What is the point of $glue in $db->union()
What is the point of $glue in union
avatar spignataro spignataro - edited - 20 Feb 2019
avatar HLeithner
HLeithner - comment - 20 Feb 2019

you are right seams useless at least for the shipped JDatabaseQuery classes

avatar puneeth2001
puneeth2001 - comment - 3 Mar 2019

does this belong to J4

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Mar 2019
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Mar 2019

@HLeithner can you please comment?

avatar HLeithner
HLeithner - comment - 3 Mar 2019

I think this is not an issue and can be closed, because it keeps the API consistent and maybe needed by new database drivers.

avatar joomla-cms-bot joomla-cms-bot - change - 3 Mar 2019
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 3 Mar 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Mar 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-03-03 11:20:47
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Mar 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Mar 2019

closed as stated above.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23958.

Add a Comment

Login with GitHub to post a comment