Sha256: 9ad1861733681f8310171f5727c32d55820dc6b016c7cafe01f763f855301929

Contents?: true

Size: 225 Bytes

Versions: 8

Compression:

Stored size: 225 Bytes

Contents

CREATE OR REPLACE FUNCTION pg_search_dmetaphone(text) RETURNS text LANGUAGE SQL IMMUTABLE STRICT AS $function$
  SELECT array_to_string(ARRAY(SELECT dmetaphone(unnest(regexp_split_to_array($1, E'\\\\s+')))), ' ')
$function$;

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pg_search-0.5.7 sql/dmetaphone.sql
pg_search-0.5.6 sql/dmetaphone.sql
pg_search-0.5.5 sql/dmetaphone.sql
pg_search-0.5.4 sql/dmetaphone.sql
pg_search-0.5.3 sql/dmetaphone.sql
pg_search-0.5.2 sql/dmetaphone.sql
pg_search-0.5.1 sql/dmetaphone.sql
pg_search-0.5 sql/dmetaphone.sql