コード例 #1
0
ファイル: Queue.php プロジェクト: justthefish/hesper
 /**
  * @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);
 }