Push values into array of mongodb database through (sails js) waterline
问题 node js,sails js,waterline. I need to update(or push) values into the below schema after insert I am using sailsjs with waterline and mongodb. { "countries": { "states": [ { "statename": "state", "districts": [ { "distname": "district", "cities": [ { "cityname": "Hyderabad", "places": [ { "placename": "hitechcity" } ] } ] } ] } ] } } I need to know how to update it i need something like this after update { "countries": { "states": [ { "statename": "state", "districts": [ { "distname":