**WHAT I WANT TO BUILD:**

I have such stuff in mongo:

```
{
  team1: 'Love',
  team2: 'Popa',
  score: 3
}
{
  team1: 'Love'
  team2: 'Ola'
  score: 1
}
{
  team1: 'Popa'
  team2: 'Ola'
  score: 5
}
{
  team1: 'Popa'
  team2: 'Kola'
  score: 56
}

```

And I have `form` with `2 inputs` like 

```
<input type="text" id="team1" placeholder="Team 1">
<input type="text" id="team2" placeholder="Team 2">

```

Soo for example I put in first input team `Love` and in the second team `Popa`

And I want to display scores games with team that was in mongo with that both teams, FOR MY EXAMPLE **this** will be team `Ola` .

If you understand what I want to build please help me create `Posts.find(....` 
Thank you !

**UPDATE:** Thats my idea how to do it
1. 

```
    Posts.find({team1: 'Love'}).map(function(item){ return item.team2; });
    Posts.find({team2: 'Love'}).map(function(item){ return item.team1; });
// disaply all team that plays with first team that I put in first input
    Posts.find({team1: 'Popa'}).map(function(item){ return item.team2; });
    Posts.find({team2: 'Popa'}).map(function(item){ return item.team1; });
// disaply all team that plays with first team that I put in first input
// out put will be look like [Popa,Ola] - first team , [Popa,Ola,Kola] - second team

```

2. Create array with words that consists in both arrrays. `[Popa,Ola]`
3. Delete `'Popa'` because `Popa` can't play with `Popa` lol, it's like Team1 vs Team1 `[Ola]`
4. I need to display scores with the both teams, like

Ola vs Love `(1)`, Ola vs Popa `(5)` , and `id` (in mongo) of this games

**UPDATE2 07.11.2015** Solution is not found, please help !