Browsing the archives for the Querying category

Being Part of the $in Crowd

in Querying

TweetEveryone wants to be part of the in-crowd, but not everyone can … Say you have a couple people represented in Documents like this: { ”_id” : ObjectId(“497ce96f395f2f052a494fd4″), person : “Kim”, crowd : “cool” } { “_id” : ObjectId(“497ce96f395f2f052a494fd5″), person : “Steve”, crowd : “losers” } { “_id” : ObjectId(“497ce96f395f2f052a494fd6″), person : “Ji Sung”, crowd : “coolest” } [...]

0 Comments