Created
January 27, 2017 20:14
-
-
Save dev-pmartins/2ec894d40e1e118b77746c81329fee16 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
two queries | |
db.getCollection('companies').find({ cnpj: "12376158000190" }) //getObjectId | |
db.getCollection('suppliers').find({ company: ObjectId("588a7319abaf2b000f4181b4") }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment