How to get a result from ORM where contain != empty?

Your first solution with the matching worked pretty well…

But about buffering result set It didnt work, I guess its because I have TooMany Relations as I read on the docs and said I couldnt.
If I dont use ->limit(15) it gives that error…
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes)
File C:\wamp64\www\sistemarbl\vendor\cakephp\cakephp\src\Database\FieldTypeConverter.php
Line: 78

I did $receivables->enableBufferedResults(false);

it didnt work, it give me the same memory size error