title: ZF2 where expression
body: <p>In mu ZF2 project I have Model using TableGateway.
  Inside function responsible for fetching objects based on search criteria (city, postal_code, range, type).</p>
  
  <p>Generally I fetch rows of data by simple</p>
  
  <pre><code>$rowset = $this-&gt;tableGateway-&gt;select($where); 
  </code></pre>
  
  <p>In my MySQL database I have procedure <strong>GetObjectsInCityRange(city, range)</strong> which returns all object_id in range of geocoded city coordinates</p>
  
  <p>I intend to add in the where clause condition:</p>
  
  <pre><code>WHERE object_id IN (call GetObjectsInCityRange(city, range))
  </code></pre>
  
  <p>Is it possible with MySQL? How write correctly $where array element to make it work?</p>