How can Database from UI in Meteor App be modified?
Answer
Correct Answer: Template.example.events({ 'click #updateThis':function(e,t){ var newValue = t.$('.newValue').val(); // taking value from random input Collection.update({_id:this._id},{$set:{value:newValue}},function(error,result){ if(error){ console.log(error.reason) }else{ console.log("Nice update") } }) } })
Explanation:
Note: This Question is unanswered, help us to find answer for this one