예제 #1
0
 protected function _getDataProducts()
 {
     $data = parent::_getDataProducts();
     foreach ($data as &$row) {
         $row['product_id'] = new Zend_Db_Expr('NEXTVAL FOR ' . $this->_db->quoteIdentifier('zfproducts_seq', true));
     }
     return $data;
 }
예제 #2
0
 protected function _getDataProducts()
 {
     $data = parent::_getDataProducts();
     foreach ($data as &$row) {
         $row['product_id'] = new Zend_Db_Expr('products_seq.NEXTVAL');
     }
     return $data;
 }