title: ORM 'or_where' use
body: <p>I'd like my ORM factory to return records where x = 1 and y is either equal to 1 or 2. I've tried a few variations with and_where, but it returns loads more than records than it should. The ORM is then stored in a php variable. Here's my current code</p>
  
  <pre><code>$tests = ORM::factory('Test')
      -&gt;where('x', '=', 1)
      -&gt;or_where('y', '=', 1)
      -&gt;or_where('y', '=', 2)
      -&gt;find_all();
  </code></pre>