Пример #1
0
 /**
  * @return Queue
  **/
 public function run(DB $db)
 {
     $db->queryRaw($this->toDialectString($db->getDialect()));
     return $this;
 }
Пример #2
0
 protected function declareCursor()
 {
     $queryDeclare = 'DECLARE ' . $this->getCursorName() . ' CURSOR FOR ' . $this->getSelectQuery()->toDialectString($this->db->getDialect());
     $this->db->queryRaw($queryDeclare);
 }