MongoDB only works with 1 level array elements. Your command will remove an item in article array (first level), not the element of illustrations array (level 3).
I think @prudhviraj should re-design the database, use multiple collections instead embeded documents.
Well, @lc3t35’s solution should work to modify the database, but then you might run into the issue of Meteor’s reactivity not working for nested arrays of objects.
I’d go with @minhna’s solution if at all possible.
Thanks for your reply. It is working. But If i tried like this, it removes entire object of illustrations array. But i need to pull only randomid in illustrations array.