title: What is wrong with the parameters in my TypeORM WHERE clause for the QueryBuilder?
body: <p>Can someone explain to me what I am doing wrong when using the parameters for my where clause?</p>
  
  <p>This next block gives me the error below it:</p>
  
  <pre><code>@EntityRepository(Something)
  export class SomethingRepository extends Repository&lt;Something&gt;{
  
    findByUserAndSomethingById(userId: number, spotId: number){
      const thing = this.createQueryBuilder('something')
      .where('something.userId = :id', {id: userId})
      .andWhere('something.id = :id',{id: spotId}).getOne();
      return thing;
    }
  }
  </code></pre>
  
  <pre class="lang-sh prettyprint-override"><code>QueryFailedError: column something.userid does not exist
  </code></pre>
  
  <p>This request gives me the right result.</p>
  
  <pre><code>@EntityRepository(Something)
  export class SomethingRepository extends Repository&lt;Something&gt;{
  
    findByUserAndSomethingById(userId: number, spotId: number){
      const thing = this.createQueryBuilder('something')
      .where(`"something"."userId" = ${userId}`)
      .andWhere('something.id = :id',{id: spotId}).getOne();
      return thing;
    }
  }
  </code></pre>
  
  <p>Update: 
  Example <a href="https://github.com/fabianmoronzirfas/typeorm-issue-qb" rel="nofollow noreferrer">repo</a> for reproduction and <a href="https://github.com/typeorm/typeorm/issues/3851" rel="nofollow noreferrer">typeorm issue</a> on github.</p>