zendframework / zend-db

Db component from Zend Framework
BSD 3-Clause "New" or "Revised" License
101 stars 122 forks source link

Sql\Combine is unsupported for Sql\Select #86

Open robob4him opened 8 years ago

robob4him commented 8 years ago

Considering that a UNION should be able to replace an aliased table in a query, is there any reason the Select class prohibits doing this:

(new Select(['u' => new Combine([$select1, $select2, $select3])]);

Could this be changed?

michalbundyra commented 4 years ago

This repository has been closed and moved to laminas/laminas-db; a new issue has been opened at https://github.com/laminas/laminas-db/issues/131.