コード例 #1
0
ファイル: DBQuery.php プロジェクト: pomed/Framework
 /**
  * Detects type of the SQL query.
  *
  * @return string Type of the SQL query.
  * @throws DBCoreException If SQL query is invalid.
  */
 protected function detectType()
 {
     return DBQueryType::detectQueryType($this->query);
 }
コード例 #2
0
ファイル: DBQuery.php プロジェクト: asymptix/framework
 /**
  * Detects if DB query is modifier query.
  *
  * @return bool
  */
 public function isModifier()
 {
     return DBQueryType::isModifier($this->getType());
 }