Last active
January 31, 2017 10:37
-
-
Save alexwenzel/4367f93b23f3f25146a48efca37d6759 to your computer and use it in GitHub Desktop.
Revisions
-
alexwenzel revised this gist
Jan 31, 2017 . 1 changed file with 0 additions and 9 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +0,0 @@ -
alexwenzel created this gist
Jan 31, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ use reactor_development; db.vendors.find({ "products._id": ObjectId("583bec83663c8419c71c4c41") }).limit(1); db.ratings.find({ "vendor": ObjectId("583bec83663c8419c71c4c40"), "ratingStatus": "approved", "rating": { "$gte": 4 }, "ratingTagType": "Operation" }).limit(3).sort({ "ratingDate": -1 }); db.ratings.find({ "vendor": ObjectId("583bec83663c8419c71c4c40"), "ratingStatus": "approved", "_id": { "$nin": [ ObjectId("58494e03663c84613b130c41"), ObjectId("584d8eca663c843f86796434") ] } }); db.ratings.find({ "vendor": ObjectId("583bec83663c8419c71c4c40"), "ratingStatus": "approved", "_id": { "$nin": [ ObjectId("58494e03663c84613b130c41"), ObjectId("584d8eca663c843f86796434") ] } }).limit(3).skip(0).sort({ "ratingDate": -1 }); db.associations.find({ "_id": { "$in": [ ObjectId("5832c0aa663c8410e46007b3") ] } }).sort([ ]); db.clinics.find({ "_id": { "$in": [ ObjectId("578f4c7c34690b3f3353ecd6") ] } }).sort([ ]); db.implant.find({ "_id": { "$in": [ ObjectId("578f7aac34690b033f53ecd6"), ObjectId("57b1889a34690bd37972c6d3") ] } }).sort([ ]); db.operation_methods.find({ "_id": { "$in": [ ObjectId("578f4eae34690b203353ecd6"), ObjectId("578f4ecb34690b293353ecd6"), ObjectId("578f4ee334690b203353ecd7") ] } }).sort([ ]);