Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db.hotels.find( {} ).forEach( function (x) {
- x.additional_price_per_event.forEach( function (y) {
- y.category = 1
- })
- db.hotels.save(x)
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement