Closed mringler closed 1 year ago
Base: 73.25% // Head: 88.34% // Increases project coverage by +15.08%
:tada:
Coverage data is based on head (
9bb2923
) compared to base (b542279
). Patch coverage: 92.24% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
PR for documentation is at propelorm/propelorm.github.com#429
This allows to create IN queries like
WHERE column IN (SELECT otherColumn FROM ...)
.It can be done by using the
filterBy()
methods:which will generate a statement like:
For known relations, there are
useInQuery()
methods which work similar as theuseQuery()
methods:Propel creates convenience methods for existing relations on query classes like
AuthorQuery::useInBookQuery()
, which is easier to use thanuseInQuery('Book')
.NOT IN
queries are created by passingCRITERIA::NOT_IN
tofilterBy()
or theuseNotInQuery()
method.I have build a similar thing for
EXISTS
, so this is mostly just abstracting from that.