nextras / orm

Orm with clean object design, smart relationship loading and powerful collections.
https://nextras.org/orm
MIT License
310 stars 57 forks source link

Support more conditions in Repository #127

Closed f3l1x closed 7 years ago

f3l1x commented 8 years ago

In almost every searching I use LIKE. At this moment I have to do that in mapper. =/

hrach commented 8 years ago

Thins need a deeper implementatio of filtering feature to allow such filtering also in ArrayCollection.

hrach commented 7 years ago

Custom functions merged: https://github.com/nextras/orm/commit/8bea3f4cf5da754260a9f5806259d50153af1207

Like custom function:

Docs will be updated later.

camohub commented 6 years ago

This LIKE syntax looks little weird. It does not seem like books->findBy(['title~=' => 'Some title']) Is not possible to write it better?