示例#1
0
 /**
  * @return mixed
  */
 public function getLastGeneratedValue($name = null)
 {
     return $this->connection->getLastGeneratedValue($name);
 }
示例#2
0
文件: Pdo.php 项目: necrogami/zf2
 /**
  * @return mixed
  */
 public function getLastGeneratedValue()
 {
     $this->connection->getLastGeneratedValue();
 }
 /**
  * @covers Zend\Db\Adapter\Driver\Pdo\Connection::getLastGeneratedValue
  */
 public function testGetLastGeneratedValue()
 {
     $this->markTestIncomplete('Need to create a temporary sequence.');
     $connection = new Connection($this->variables);
     $connection->getLastGeneratedValue();
 }