title: Kohana 3.1 ORM: How to make 'where ... in' clause
body: <p>Thanks to Kohana's excellent documentation, I'm having to resort to prostrate myself on SO. ;)</p>
  
  <p>Hopefully this is really simple: I'm trying to gather all stories which belong to a certain group of IDs.  My code is as follows:</p>
  
  <pre><code>$story_ids = '(12,56,99,213,319)';
  $stories = ORM::factory('story')-&gt;where('id', 'IN', $story_ids)-&gt;find_all();
  </code></pre>
  
  <p>However, this is obviously not working. I'm getting a MySQL error because single-quotes are being put around the <code>$story_ids</code> string in the query.</p>
  
  <p><strong>EDIT:</strong> I've also tried passing <code>$story_ids</code> as an array, but then I just get a "500 Internal Server Error"</p>
  
  <p>Is it possible to do what I'm asking?</p>
  
  <p>Thanks in advance.</p>