title: how do i write not equal to in a doctrine where clause?
body: <p>I hope someone can help me, i'm writing a custom query in my repository and i'd like to do the below:-</p>
  
  <pre><code>$query = $this-&gt;_em-&gt;createQueryBuilder()
  -&gt;select('a')
  -&gt;from('entity', 'a')
  -&gt;where('a.deleted not 1') /// how do you write NOT??? i've tried &lt;&gt; etc 
  -&gt;getQuery();
  </code></pre>
  
  <p>How do i perform the above?</p>
  
  <p>Thanks</p>
  
  <p>Andrew</p>