title: Laravel query: multiple conditions in where clause but 1 condition requires comparison operator
body: <p>I have been trying to get a Laravel select query to work which requires multiple AND conditions. I understand you could normally do this:</p>
  
  <pre><code>$myArray = array('column_one' =&gt; 1, 'column_two' =&gt; 2);
  
  DB::('mytable')-&gt;select('mycolumn')-&gt;where($myArray)-&gt;get();
  </code></pre>
  
  <p>How do you do this with one where statement when a comparison operator is required?</p>
  
  <p>Something like:</p>
  
  <pre><code>DB::('mytable')-&gt;select('mycolumn')-&gt;where('column_one', 1)-&gt;where('column_two' '&lt;', 10000)-&gt;get();
  </code></pre>
  
  <p>but with only one where statement instead of chaining them. I searched the Laravel docs and could not find this.</p>
  
  <p>Any help is appreciated!</p>