Postgres::getFtsMappings PHP Метод

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

Return list of FTS mappings possible for given parser (specified by given configuration since configuration can only have 1 parser)
public getFtsMappings ( $ftscfg )
$ftscfg The config's name that use the parser
    function getFtsMappings($ftscfg)
    {
        $cfg = $this->getFtsConfigurationByName($ftscfg);
        $sql = "SELECT alias AS name, description\n\t\t\tFROM pg_catalog.ts_token_type({$cfg->fields['parser_id']})\n\t\t\tORDER BY name";
        return $this->selectSet($sql);
    }
Postgres