Created
June 26, 2014 00:12
-
-
Save bbengfort/f01350e107132008140c to your computer and use it in GitHub Desktop.
Update categories in Mongo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.categories.update({slug:"root.v2.tops"}, {$set: {display_name:"All Shirts and Sweaters"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.bottoms"}, {$set: {display_name: "All Pants and Shorts"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.dresses"}, {$set: {display_name: "All Dresses"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.suits"}, {$set: {display_name: "All Suits and Jackets"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.activewear"}, {$set: {display_name:"All Activewear"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.outerwear"}, {$set: {display_name:"All Outerwear"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.underwear"}, {$set: {display_name:"All Underwear"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.shoes"}, {$set: {display_name: "All Shoes"}}, {multi:false}); | |
db.categories.update({slug:"root.v2.accessories"}, {$set: {display_name:"All Accessories"}}, {multi:false}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment