Tags » Floppy

How to properly build a query that filters what I need in mongo

I tried to understand the syntax of some mongo commands.

I have some arrays like this:

{
  "_id" : ObjectId("5404506df59600af7d285692"),
  "leagues" : [{
      "name" : "Nami's Marksmen",
      "tier" : "PLATINUM",
      "queue" : "RANKED_SOLO_5x5",
      "entries" : [{
          "playerOrTeamId" : "23712130",
          "playerOrTeamName" : "Woodyx",
          "division" : "V",
          "leaguePoints" : NumberLong(56),
          "wins" : NumberLong(83),
          "isHotStreak" : false,
          "isVeteran" : false,
          "isFreshBlood" : false,
          "isInactive" : false,
          "miniSeries" : false
        }],
      "id" : NumberLong(23712130)
    }, {
      "name" : "Ziggs's Redeemers",
      "tier" : "SILVER",
      "queue" : "RANKED_TEAM_5x5",
      "entries" : [{
          "playerOrTeamId" : "TEAM-24f25974-63de-402a-a78f-bb7811f3b362",
          "playerOrTeamName" : "RAGEDEINSTALL",
          "division" : "II",
          "leaguePoints" : NumberLong(58),
          "wins" : NumberLong(7),
          "isHotStreak" : false,
          "isVeteran" : false,
          "isFreshBlood" : false,
          "isInactive" : true,
          "miniSeries" : false
        }],
      "id" : NumberLong(23712130)
    }, {
      "name" : "Heimerdinger's Archons",
      "tier" : "BRONZE",
      "queue" : "RANKED_TEAM_3x3",
      "entries" : [{
          "playerOrTeamId" : "TEAM-b8dbeb70-83b0-11e3-b41c-782bcb497d6f",
          "playerOrTeamName" : "H Fettarme Vollmilch",
          "division" : "I",
          "leaguePoints" : NumberLong(75),
          "wins" : NumberLong(4),
          "isHotStreak" : false,
          "isVeteran" : false,
          "isFreshBlood" : false,
          "isInactive" : true,
          "miniSeries" : false
        }],
      "id" : NumberLong(23712130)
    }],
  "summonerId" : NumberLong(23712130),
  "region" : "euw",
  "updatedAt" : NumberLong(1413521614)
}
… 173 more words
Stackoverflow

Wednesday Wardrobe Crush: Floppy Felt Hat 10.22.14

Good Morning all!! Today’s Wednesday Wardrobe Crush, I am featuring floppy felt hats.

This past weekend I went out to the San Antonio Beer Festival and a friend was wearing the cutest floppy hat. 46 more words

OI: elbow length

Some outfit combinations to inspire you this week. All items are recycled from last year and earlier this year.  Let me know which you like best! 24 more words

SissiFashion