Let's say I update a field like this in a Meteor method:
Collection.update({_id: "a"}, {$set: {lalala: " a b c "})
I would expect " a b c "
to turn up as the value in the database, but what is really being saved is "a b c"
.
Who is the culprit behind this (or how can I find out?) and how do I get around it?
As I see it, it can either be Meteor, MongoDB, or Compose.io where my database is located.