title: How does Simulating Joins works in Couchbase?
body: <p>I have documents one is dependent to other.  first: </p>
  
  <pre><code>{
    "doctype": "closed_auctions",
    "seller": {
      "person": "person11304"
    },
    "buyer": {
      "person": "person0"
    },
    "itemref": {
      "item": "item1"
    },
    "price": 50.03,
    "date": "11/17/2001",
    "quantity": 1,
    "type": "Featured",
    "annotation": {
      "author": {
        "person": "person8597"
      }
  }
  </code></pre>
  
  <p>here you can see doc.buyer.person is dependent to another documents like this: </p>
  
  <pre><code>{
    "doctype": "people",
    "id": "person0",
    "name": "Kasidit Treweek",
    "profile": {
      "income": 20186.59,
      "interest": [
        {
          "category": "category251"
        }
      ],
      "education": "Graduate School",
      "business": "No"
    },
    "watch": [
      {
        "open_auction": "open_auction8747"
      }
    ]
  }
  </code></pre>
  
  <p>How can I get buyer's name from these two documents? I means doc.buyer.person is connected with second document's id. It is join and from documentation it's not clear. <a href="http://docs.couchbase.com/couchbase-manual-2.0/#solutions-for-simulating-joins" rel="nofollow">http://docs.couchbase.com/couchbase-manual-2.0/#solutions-for-simulating-joins</a></p>