Issue with chaining promises + Datasets

Thank you Ido :slight_smile:

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())