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