If I open my Members/PrivateMembersData collection in the Editor, I can see an item with test@test.nl in the loginEmail column.
However, my query on loginEmail returns 0 on a count() and no items on a find()
var email = "test@test.nl"
var queryResult = await wixData.query("Members/PrivateMembersData")
.eq('loginEmail', email)
.find();
var count = await wixData.query("Members/PrivateMembersData")
.eq('loginEmail', email)
.count();
Sometimes I do get items returned, but many newly added members seem to be visible through the editor, but not through querying.
There does not seem to be a sync mechanism for the collection.
I am running the query on the live website.
What could I be missing here? Do I still need to sync something?