Štěpán Postler

Results 5 comments of Štěpán Postler

For me this would be useful, but why is it static and not like `return $formatter->format($this);`?

Undestood. I also think it's the last one. I found only one more and it was already in v4.0. Now it's fixed, sort of, by NotSupportedException "Relationship cannot be fetched..."....

> I cannot move it from having to where, because it would stop working with OR. Seems to me that OR is already solved by including condition `"tags_any"."id" IN (2,...

Just for reference, I tried simply commenting out [this line](https://github.com/nextras/orm/blob/f4a0444b40d4d8e57a10e304887fcf0fda123d7b/src/Collection/Aggregations/AnyAggregator.php#L59) and both OR and AND cases now work as well as all other tests in MySQL and Postgres. However, it...

> it goes a bit against the idea that the expression is similar to actual PHP (`->` instead of `.`). Perhaps `books->id::count` or `count(books->id)` would be better. Although the latter...