title: Parse Cloud Code loading a to-Many relationship
body: <p>I have several relationships on Parse and I am attempting to perform a query to pull back all the data. </p>
  
  <p>Classes:</p>
  
  <ul>
  <li>Equipment</li>
  <li>EquipmentType</li>
  <li>EquipmentAttribute </li>
  <li>Notification  </li>
  <li>NotificationType</li>
  <li>Equipment has an EquipmentType  </li>
  <li>Equipment has many EquipmentAttributes  </li>
  <li>Equipment has many Notifications</li>
  <li>Notification has a NotificationType</li>
  </ul>
  
  <p>I would like to query for all Equipment whose EquipmentType is equalTo "robot" and have the result include all EquipmentAttributes and Notifications associated.</p>
  
  <p>I have been unsuccessful in finding a way to perform this query. I have tried the following:</p>
  
  <pre><code>Parse.Cloud.define("getFleetList", function(request, response) {
    var typeQ = new Parse.Query("EquipmentType");
    typeQ.equalTo("code", "robot");
  
    var equipmentQ = new Parse.Query("Equipment");
    equipmentQ.include("type");
    equipmentQ.matchesQuery("type", typeQ);
  
    var attribQ = new Parse.Query("EquipmentAttribute");
    attribQ.include("equipment");
    attribQ.matchesQuery("equipment", equipmentQ);
    attribQ.find({
      success: function(results) {
        response.success(results);
      },
      error: function(error) {
        response.error("lookup failed: code:" + error.code + " message:" + error.message);
      }
    });
  });
  </code></pre>
  
  <p>But this will only bring back Equipment that has EquipmentAttributes and misses all of the ones that don't.</p>
  
  <p>How can I pull back all the information and return it in a single JSON response?</p>
  
  <p>Thanks...</p>