Postgres::dropFtsConfiguration PHP Method

dropFtsConfiguration() public method

Drops FTS coniguration
public dropFtsConfiguration ( $ftscfg, $cascade )
$ftscfg The configuration's name
$cascade Cascade to dependenced objects
    function dropFtsConfiguration($ftscfg, $cascade)
    {
        $f_schema = $this->_schema;
        $this->fieldClean($f_schema);
        $this->fieldClean($ftscfg);
        $sql = "DROP TEXT SEARCH CONFIGURATION \"{$f_schema}\".\"{$ftscfg}\"";
        if ($cascade) {
            $sql .= ' CASCADE';
        }
        return $this->execute($sql);
    }
Postgres