stevepryde/thirtyfour

How to use ElementPredicate!

TheGratefulDev opened this issue · 1 comments

Hey!

Let me begin by saying this is a wonderful library and I'm having a great time developing with it.

I have just one question, could you please post an example using with_filter from the ElementQuery interface?

I'm having a hard time getting my head around it ...

Cheers!

Closing issue because thirtyfour::query::conditions has a long list of examples of creating a custom ElementPredicate.

From that, it's pretty easy to call with_filter with your own predicate!