title: Simple way to get multiple related objects in Parse.com with Javascript?
body: <p>I have a Player class. Players can have x number of Trophies. I have the Player objectId and need to get a list of all of their Trophies.</p>
  
  <p>In the Parse.com data browser, the Player object has a column labeled:</p>
  
  <pre><code>trophies Relation&lt;Trophy&gt;
  (view Relations)
  </code></pre>
  
  <p>This seems like it should be so simple but I'm having issues with it.</p>
  
  <p>I have the ParseObject 'player' in memory:</p>
  
  <pre><code>var query = new Parse.Query("Trophy");
  query.equalTo("trophies", player);
  query.find({
    /throws an error- find field has invalid type array.
  </code></pre>
  
  <p>I've also tried relational Queries:</p>
  
  <pre><code>var relation = new Parse.Relation(player, "trophies");
  relation.query().find({
    //also throws an error- something about a Substring being required.
  </code></pre>
  
  <p>This has to be a completely common task, but I can't figure out the proper way to do this.</p>
  
  <p>Anyone know how to do this in Javscript CloudCode?</p>
  
  <p>Many thanks!</p>
  
  <p><strong>EDIT--</strong></p>
  
  <p>I can do relational queries on the user fine:</p>
  
  <pre><code>var user = Parse.User.current();
  var relation = user.relation("trophies");
  relation.query().find({
  </code></pre>
  
  <p>I don't understand why this very same bit of code breaks if I'm using a non-user object. </p>