Created
May 20, 2019 20:16
-
-
Save vnugent/a95d69367995f07c8d09b9ff14f7076f to your computer and use it in GitHub Desktop.
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.pandas.find({}, {_id: 1, title: 1, meta: 1}).sort({insert_ts: -1}) | |
# enable featured post | |
db.pandas.update({_id: {$in: ["<uuid>"]}}, {$set: {'meta.featured': "true"}}, false, true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment