예제 #1
0
 /**
  * @return Queue
  **/
 public function run(DB $db)
 {
     $db->queryRaw($this->toDialectString($db->getDialect()));
     return $this;
 }
예제 #2
0
파일: Cursor.php 프로젝트: avid/hesper
 protected function declareCursor()
 {
     $queryDeclare = 'DECLARE ' . $this->getCursorName() . ' CURSOR FOR ' . $this->getSelectQuery()->toDialectString($this->db->getDialect());
     $this->db->queryRaw($queryDeclare);
 }