Postgres::getFtsConfigurationByName PHP Method

getFtsConfigurationByName() public method

Return all information related to a FTS configuration
public getFtsConfigurationByName ( $ftscfg ) : FTS
$ftscfg The name of the FTS configuration
return FTS configuration information
    function getFtsConfigurationByName($ftscfg)
    {
        $c_schema = $this->_schema;
        $this->clean($c_schema);
        $this->clean($ftscfg);
        $sql = "\n\t\t\tSELECT\n\t\t\t\tn.nspname as schema,\n\t\t\t\tc.cfgname as name,\n\t\t\t\tp.prsname as parser,\n\t\t\t\tc.cfgparser as parser_id,\n\t\t\t\tpg_catalog.obj_description(c.oid, 'pg_ts_config') as comment\n\t\t\tFROM pg_catalog.pg_ts_config c\n\t\t\t\tLEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.cfgnamespace\n\t\t\t\tLEFT JOIN pg_catalog.pg_ts_parser p ON p.oid = c.cfgparser\n\t\t\tWHERE pg_catalog.pg_ts_config_is_visible(c.oid)\n\t\t\t\tAND c.cfgname = '{$ftscfg}'\n\t\t\t\tAND n.nspname='{$c_schema}'";
        return $this->selectSet($sql);
    }
Postgres