Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * Detects if DB query is modifier query.
  *
  * @return bool
  */
 public function isModifier()
 {
     return DBQueryType::isModifier($this->getType());
 }