Schlagwort-Archiv: code

Multi Property Magic Finder

If you ever developed an extbase extension you might have used the TxExtbasePersistenceRepository (or a subclass of it) to get your domain objects. If you implement an own repository for your domain models, you will usually extend TxExtbasePersistenceRepository and implement some special finder methods.

Today i thought it would be cool to have an even more magic magic finder. Wouldn’t it be great to match multiple properties in one finder? What about getting all „red“ objects in size „XL“?