title: How to query value of column that is set as pointer to other table in Parse
body: <p>I am using <a href="http://parse.com" rel="noreferrer">Parse</a> for my app. I want to query a table with column that set to be a pointer to other table. Here is the query:</p>
  
  <pre><code>ParseQuery query = new ParseQuery("CategoryAttribute");
          query.whereEqualTo("categoryId", categoryId);
          query.findInBackground(new FindCallback() {
              @Override
              public void done(List&lt;ParseObject&gt; categoryAttributes, ParseException e) {
                  if (e == null) {
                      for (int i = 0; i &lt; categoryAttributes.size(); i++){
                          String atributeCategoryId = categoryAttributes.get(i).getString("categoryId");
                          String attributeKey  = categoryAttributes.get(i).getString("attributeKey");
                          String attributeValue   = categoryAttributes.get(i).getString("attributeValue");
  
                          setCategoryAtributeRow(atributeCategoryId, attributeKey, attributeValue);
                      }
                  } else {
                      Log.d("score", "Error: " + e.getMessage());
                  }
              }
          });
  </code></pre>
  
  <p>So the <code>categoryId</code> column is a pointer to other table. Other columns work fine.
  I tried to scan the API and the guides but couldn't find needed solution. Help would be much appreciated!   </p>