propelorm / Propel2

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

Add subqueries support on JOIN conditions #174

Open willdurand opened 12 years ago

willdurand commented 12 years ago

It was a suggestion two years ago, I think it makes sense.

Any thoughts?

jeremyFreeAgent commented 12 years ago

Very good feature !

marcj commented 12 years ago

+1

jeremyFreeAgent commented 12 years ago

How we do it when it's a ModelCriteria ?

willdurand commented 12 years ago

@jeremyFreeAgent what do you mean?

jeremyFreeAgent commented 11 years ago

@willdurand OMG !!! Sorry !!! I'll explain better tonight.

willdurand commented 11 years ago

@jeremyFreeAgent tonight you said?

jeremyFreeAgent commented 11 years ago

@willdurand lol sorry man! I'm at the origin of your burnout? :(

willdurand commented 11 years ago

haha no ;)

jeremyFreeAgent commented 11 years ago

I've done that last time https://github.com/jeremyFreeAgent/Propel2/commit/96d5a012ff789344667bfc93be21ff18ca9d3764 and if my memory is good, I've done the feature with only one kind of query.