propelorm / Propel2

Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
http://propelorm.org/
MIT License
1.26k stars 393 forks source link

criteria uses named joins internally #1977

Closed mmeisso closed 9 months ago

mmeisso commented 10 months ago

Criteria's joins ( from addJoin ) does not uses named joins, unlike... Criteria's joins.

There is a brain split at some time, where it exposes public function getJoin(string $name): Join, public methods that can never work on a raw Criteria instance that never put a name on these joins.

1919