Jaxel
Well-known member
I have a blob column, lets call it
The array will contain a list of numbers, something like
I want to then compare this array, to another array in a finder. Lets say my array
Basically, I want to search for any entities where
Is it possible to do this with the finder system?
In addition, is there a way to also return all entities where
my_blob
... This is a JSON_ARRAY in my entity.The array will contain a list of numbers, something like
["1","2","4","8"]
.I want to then compare this array, to another array in a finder. Lets say my array
$numbers = ["1","5"]
.Basically, I want to search for any entities where
my_blob
matches items in the array from items in the array from $numbers
Code:
$this->finder('My\Addon:MyEntity')
->where('my_blob', $numbers)
->fetch();
In addition, is there a way to also return all entities where
my_blob
is an empty array?