예제 #1
0
파일: Db2.php 프로젝트: heiglandreas/zf2
 protected function _getDataProducts()
 {
     $data = parent::_getDataProducts();
     foreach ($data as &$row) {
         $row['product_id'] = new Db\Expr('NEXTVAL FOR ' . $this->_db->quoteIdentifier('zfproducts_seq', true));
     }
     return $data;
 }
예제 #2
0
파일: Sqlsrv.php 프로젝트: rexmac/zf2
 public function createView()
 {
     parent::dropView();
     parent::createView();
 }