Thank you Ido ![]()
But isn’t that line wrapped within a then( ) statement and followed by another then( )?
.then(results => {
const elements = results.items;
elements.forEach(item => {
wixData.remove(collectionName, item._id); }); })
.then(() => wixData.query("Members").count())