Reputation: 855
I learning meteor 1.4 with this TUTORIAL
trying to insert data through CMD with this command
db.tasks.insert({ itemOne: { text:'hello', value:0}}, itemTwo: {text:'hi', value:0}});
but get this error:
E QUERY [thread1] SyntaxError: missing ) after argument list @(shell):1:61
Upvotes: 0
Views: 93
Reputation: 896
db.tasks.insert({ itemOne: { text:'hello', value:0}, itemTwo: { text:'hi', value:0}});
Now it should work, this inser a record like this:
{
itemOne: { text:'hello', value:0},
itemTwo: { text:'hi', value:0}
}
Upvotes: 1