Last active
May 15, 2021 14:29
-
-
Save felinto-dev/06fbab691d310f8380b4dc2b7f5650eb to your computer and use it in GitHub Desktop.
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
// Get products that does not have item | |
db.getCollection('gplzone').find({ 'item': { $exists: false } }) | |
// Get products that has notes associated | |
db.getCollection('gplzone').find({ 'note': { $exists: true } }) | |
// Get products that was not possible to scrape zip content | |
db.getCollection('gplzone').find({ | |
'item.product_version.is_double_zipped': true | |
}) | |
// Get products that has log but does not has seen_at | |
db.getCollection('gplzone').find({ | |
$and: [ | |
{ 'log': { $exists: true } }, | |
{ 'seen_at': { $exists: false } }, | |
] | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment