title: TypeORM generating correct query but returning no data
body: <p>I am using TypeORM to query a simple `Like´ entity which is defined as follows:</p>
  <pre><code>@Entity()
  export class Like extends BaseEntity {
  
      @ManyToOne(type =&gt; Post, post =&gt; post.likeList)
      post: Post;
  
      @ManyToOne(type =&gt; Contest, contest =&gt; contest.likeList)
      contest: Contest; // Denormalization
  
      @ManyToOne(type =&gt; User, user =&gt; user.likeList)
      user: User;
  }
  </code></pre>
  <p>I need to the select certaing <code>postId</code>s based on a where clause, to achieve this I am running the following query using the <code>repository</code></p>
  <pre><code>const test = await this.repository.find({
                  where: {
                      user: userId,
                      contest: contestId,
                  },
                  select: ['post'],
              });
  </code></pre>
  <p>The generated SQL statement - <code>SELECT &quot;Like&quot;.&quot;postId&quot; FROM &quot;like&quot; &quot;Like&quot; WHERE &quot;Like&quot;.&quot;userId&quot; = $1 AND &quot;Like&quot;.&quot;contestId&quot; = $2 -- PARAMETERS: [3,1]</code>- produces the following output when ran against my postgres database:</p>
  <p><a href="https://i.stack.imgur.com/k4evZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k4evZ.png" alt="enter image description here" /></a></p>
  <p>Interestingly though, the value of <code>test</code> is always an empty array...what am I missing?</p>