Delete specific row after wixData.query

@ajithkrr
Sorry…:sweat_smile: I input the wrong code here, but the code in my website is this which still didn’t work

wixData.query("ReviewsPermission")
 .eq("_owner", wixUsers.currentUser.id)
 .find()
 .then((result) => {
 let ownerId = result.items[0]._owner;
 
   wixData.remove("ReviewsPermission", ownerId)
   .then((results) => {
     let item = results;
   });
})

May I know if you have already tried this kind of code before?