Where did you test it ?
LIVE or PREVIEW ?
Both DATABASES are synced ?
This code works just fine for me…
import wixData from 'wix-data';
$w.onReady(function () {
wixData.query("Team")
.isNotEmpty("status") //---> RESULT = 7 (i have 7 rows and all filled with data)
.count()
.then( (num) => {
let numberOfItems = num;
console.log("Selected field has ", num, "empty cells.")
});
});
and when i change back to…
.isEmpty("status") ---> RESULT = 0
…it also works like it should…