Im trying to update a certain part in my database and used this
commands
> var t = db.licpoll.findOne({},{"children.OpeniT.children.license-file.type":true})
> t
{
"_id" : ObjectId("4bd68a6a1205000000000514"),
"children" : {
"OpeniT" : {
"children" : {
"license-file" : {
"type" : "FileName"
}
}
}
}
}
>
>
>
> t.children.OpeniT.children.license-file.type = "sssss";
Wed Apr 28 12:20:49 JS Error: SyntaxError: invalid assignment left-
hand side (shell):0 ---> and i get this error
Im just wondering if there's anything wrong with my syntax. coz as far
as i know its correct
Hope someone help me here..thanks
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to
mongod...@googlegroups.com.
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/mongodb-user?hl=en.