Hello !
Before asking I searching discussion and don’t find answer, but all discussions situatd year ago, may be something changing in Corvide since that…
I do without problem filtering by some “text” FieldKey, For exampe named “tag”
But If I use Field which have text inside but really it REFERRING Field - Filtering not working.
I guess that such filtering is may be Impossible may be have some tricky.
Thank You - I solved it…
Yes, I use first advice reading Hidden ID -
I guess myself before read - that i HAVE TO DO read ID
(MY LITTLE EXPEREANCE in databases - ADVICE ME THAT IT IS only ONE WAY -
DO REFERANCE - BUT i DIDN’T GUESS - MAKE id VISIBLE…
Hey I went through the links you posted but it’s still not clear to me how to filter by a reference field. I’m trying to use include() and filter() but can’t seem to combine them
let query = wixData.query('posts')
.include('categories')
.eq('_id', category)
.find();
$w("#postsDataset").setFilter(wixData.filter(query));