zend-db icon indicating copy to clipboard operation
zend-db copied to clipboard

FEATURE REQUEST: join proxy methods

Open pine3ree opened this issue 9 years ago • 3 comments
trafficstars

What about adding:

leftJoin(...) rightJoin(...) innerJoin(...) outerJoin...() leftOuterJoin(...) rightOuterJoin(...)

methods to Sql\Select?

pine3ree avatar Feb 15 '16 13:02 pine3ree

My previous comment was wrong! Here ist an update:

Are the proxy methods really needed? The differences between join and leftJoin methods would not be very big.

froschdesign avatar Jul 20 '16 06:07 froschdesign

@froschdesign I think that having those join-related proxy methods would make the code (just a little) more fluent and clear: the name of the method appears first so there is no need for the eye to go reading the class constant parameter that represents the type of join. kind regards

pine3ree avatar Jul 20 '16 09:07 pine3ree

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/132.

michalbundyra avatar Jan 16 '20 19:01 michalbundyra