Thanks a lot but that is exactly the oppsite of what I want.
To explain it with an example.
If I have data like this:
[
{ numbers: [1] },
{ numbers: [1,2] },
{ numbers: [1,2,3] },
{ numbers: [2,3] },
{ numbers: [3] }
]
and I would filter with: "{where: {number:{inq: [1]}}}" it would just return: [ { numbers: [1] } ]
because it compares the WHOLE numbers content with each of the entries and so just the first one matches.
What I want is a search like: "{where: {number:{inarray: 1}}}"
and then it should return me each object in which the number 1 is in the numbers array. So I would get:
[
{ numbers: [1] },
{ numbers: [1,2] },
{ numbers: [1,2,3] }
]
Thanks!