示例#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();
 }