title: Fetching only one row from MySQL using Zend DB framework
body: <p>I want to fetch only one row from a database because I only expect one. However, with <code>fetchAll</code> I always have to unwrap the array first before I can access the meat:</p>
  
  <pre><code>$result = self::$db-&gt;fetchAll($select);
  $result = $result[0];
  </code></pre>
  
  <p>Is there a better solution?</p>