title: PFQuery in which whereKey is pointer
body: <p>I have 2 classes: Posts class and User class. I have been trying to query Posts class to show only posts from current user's following. I do it like this:</p>
  
  <pre><code>[query whereKey:@"user" containedIn:[PFUser currentUser][@"followings"]];
  </code></pre>
  
  <p>Column "followings" is array containing objectId of current user's following. My problem seems to lie where the key @"user" in Posts class is pointer to User class and causes this error: </p>
  
  <pre><code>Error: pointer field user needs a pointer value (Code: 102, Version: 1.2.10)
  </code></pre>
  
  <p>How should I go about this? Thanks in advance.</p>
  
  <p><strong>Edit1:</strong> Info added</p>
  
  <p>Here I provide details about the mentioned 2 classes:</p>
  
  <ul>
  <li><strong>Posts class</strong></li>
  </ul>
  
  <p>objectId(string)----text(string)----user(pointer)----...</p>
  
  <ul>
  <li><strong>User class</strong></li>
  </ul>
  
  <p>objectId(string)----username(string)----followings(array of users'objectId)----...  </p>