I have a hierarchy of, let say, posts -> comments -> votes.
How do I update a certain vote on certain comment?
For comment it is comments.$, but I obviously can’t do comments.$.votes.$.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cann’t do it right now(there is such bug in jira). But i suppose you can update using server side side javascript. Check this article for more details.
Another way it redesign your db scheme to one level deep, for example in case of post-> comments-> votes move comments(or even votes) in separate collection.