Do they happen when we use collection.insert
calls on the client (without using Meteor methods), or do simulations only happen when collection.insert
(etc) methods are called within Meteor methods?
F.e. which of the following two examples run simulations:
example 1:
someCollection.insert({...}) // simulation happens?
example 2:
Meteor.methods({
someMethod: function(data) {
someCollection.insert(data) // simulation happens?
}
})
Meteor.call('someMethod', {...})