Postgres::getFtsConfigurationMap PHP Метод

getFtsConfigurationMap() публичный Метод

Returns the map of FTS configuration given (list of mappings (tokens) and their processing dictionaries)
public getFtsConfigurationMap ( string $ftscfg ) : RecordSet
$ftscfg string Name of the FTS configuration
Результат RecordSet
    function getFtsConfigurationMap($ftscfg)
    {
        $c_schema = $this->_schema;
        $this->clean($c_schema);
        $this->fieldClean($ftscfg);
        $oidSet = $this->selectSet("SELECT c.oid\n\t\t\tFROM pg_catalog.pg_ts_config AS c\n\t\t\t\tLEFT JOIN pg_catalog.pg_namespace n ON (n.oid = c.cfgnamespace)\n\t\t\tWHERE c.cfgname = '{$ftscfg}'\n\t\t\t\tAND n.nspname='{$c_schema}'");
        $oid = $oidSet->fields['oid'];
        $sql = "\n \t\t\tSELECT\n    \t\t\t(SELECT t.alias FROM pg_catalog.ts_token_type(c.cfgparser) AS t WHERE t.tokid = m.maptokentype) AS name,\n        \t\t(SELECT t.description FROM pg_catalog.ts_token_type(c.cfgparser) AS t WHERE t.tokid = m.maptokentype) AS description,\n\t\t\t\tc.cfgname AS cfgname, n.nspname ||'.'|| d.dictname as dictionaries\n\t\t\tFROM\n\t\t\t\tpg_catalog.pg_ts_config AS c, pg_catalog.pg_ts_config_map AS m, pg_catalog.pg_ts_dict d,\n\t\t\t\tpg_catalog.pg_namespace n\n\t\t\tWHERE\n\t\t\t\tc.oid = {$oid}\n\t\t\t\tAND m.mapcfg = c.oid\n\t\t\t\tAND m.mapdict = d.oid\n\t\t\t\tAND d.dictnamespace = n.oid\n\t\t\tORDER BY name\n\t\t\t";
        return $this->selectSet($sql);
    }
Postgres