public function testPrepare() { $stmp = $this->_db->prepare('SELECT * FROM users WHERE id=?'); $this->assertEquals(get_class($stmp), 'Zend_Db_Statement_Pdo'); }
/** * Get shard conncetion by value * * @param string $value * @return Zend_Db_Adapter_Abstract */ public function getShard($value) { return $this->_db->getShard($this->getShardName($value)); }