Hi Mohamed,
thanks for reaching out!
If you don't know the object Id that you would like to delete, at the moment, you need to search for the value in the database first before deleting it. As exemplified at the following code:
var query = new Parse.Query('table');
query.equalTo('delete_me', 1);
query.find().then(function(results) {
return Parse.Object.destroyAll(results);
}).then(function() {
// Done
}, function(error) {
// Error
});
If you are facing any problem, please let us know!
Regards,