Created
March 17, 2021 15:13
-
-
Save pinalbhatt/3b4a17d3341a945f08f93a3ac2e9ece3 to your computer and use it in GitHub Desktop.
IAP-MongoDB
This file contains hidden or 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.getCollection("products").find({ | |
app: 'ios', | |
market: 'pt-BR', | |
programId: '32135' | |
}); | |
db.getCollection("products").findOneAndUpdate({ | |
app: 'ios', | |
market: 'pt-BR', | |
programId: '32135' | |
}, { | |
$set: { rbProgramId: '32135' } | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment