Created
February 25, 2024 17:31
-
-
Save AdityaBVerma/b2168915a74d4a1e6b43e11c458b9f8c to your computer and use it in GitHub Desktop.
Sample data set for testing MongoDB aggregation pipelines use it in insertMany([ ])
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
{ | |
"_id": ObjectId("65dad0a827099da463349497"), | |
"subscriber": ObjectId("65d9e73c0aaf5eaddc03f80a"), | |
"channel": ObjectId("65d9e7cd0aaf5eaddc03f80b") | |
}, | |
{ | |
"_id": ObjectId("65dad0a827099da463349498"), | |
"subscriber": ObjectId("65d9e7cd0aaf5eaddc03f80b"), | |
"channel": ObjectId("65d9e73c0aaf5eaddc03f80a") | |
}, | |
{ | |
"_id": ObjectId("65dad0a827099da463349499"), | |
"subscriber": ObjectId("65d9e83a0aaf5eaddc03f80c"), | |
"channel": ObjectId("65d9e73c0aaf5eaddc03f80a") | |
} |
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
{ | |
"_id": ObjectId("65d9e73c0aaf5eaddc03f80a"), | |
"username": "aditya", | |
"fullName": "aditya verma", | |
"email": "abc@123.com", | |
"watchHistory": [ | |
ObjectId("65d9e9370aaf5eaddc03f80d"), | |
ObjectId("65d9e9980aaf5eaddc03f80e") | |
], | |
"password": "adi" | |
}, | |
{ | |
"_id": ObjectId("65d9e7cd0aaf5eaddc03f80b"), | |
"username": "jhon", | |
"fullName": "jhon doe", | |
"email": "afc@123.com", | |
"watchHistory": [ | |
ObjectId("65d9e9980aaf5eaddc03f80e"), | |
ObjectId("65d9e9ba0aaf5eaddc03f80f") | |
], | |
"password": "john" | |
}, | |
{ | |
"_id": ObjectId("65d9e83a0aaf5eaddc03f80c"), | |
"username": "philips", | |
"fullName": "philips smith", | |
"email": "ajc@123.com", | |
"watchHistory": [ | |
ObjectId("65d9e9370aaf5eaddc03f80d"), | |
ObjectId("65d9e9ba0aaf5eaddc03f80f") | |
], | |
"password": "philips" | |
} |
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
{ | |
"_id": ObjectId("65d9e9370aaf5eaddc03f80d"), | |
"title": "video1", | |
"owner": ObjectId("65d9e83a0aaf5eaddc03f80c") | |
}, | |
{ | |
"_id": ObjectId("65d9e9980aaf5eaddc03f80e"), | |
"title": "video2", | |
"owner": ObjectId("65d9e7cd0aaf5eaddc03f80b") | |
}, | |
{ | |
"_id": ObjectId("65d9e9ba0aaf5eaddc03f80f"), | |
"title": "video3", | |
"owner": ObjectId("65d9e73c0aaf5eaddc03f80a") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment