I've this:
var tmp = "Test";
and want that:
Books.update({_id: data._id},{$set:{tmp: [0,0,0,0,0]}});
Now I get an array like this: tmp: [0,0,0,0,0] But I want that: Test [0,0,0,0,0]
Have somebody an idea how I can do that?
I've this:
var tmp = "Test";
and want that:
Books.update({_id: data._id},{$set:{tmp: [0,0,0,0,0]}});
Now I get an array like this: tmp: [0,0,0,0,0] But I want that: Test [0,0,0,0,0]
Have somebody an idea how I can do that?