Is it possible to use a variable in a meteor collection update/removal?
问题 So I was thinking about refactoring my code in the following way. Meteor.call("RemoveNotification", this._id, function(error, response){ } and Meteor.call("RemoveAvailablePlayer", this._id, function(error, response){ } into Meteor.call("RemoveFromDatabase", "Notifications", this_id, function(error, response){ } and Meteor.call("RemoveFromDatabase", "AvailablePlayers", this_id, function(error, response){ } that way only one meteor method is needed to handle a removal to any collection. Is this