Funktionen zur Datenbearbeitung in PostgreSQL
Brian Piccolo
Sr. Director, Digital Strategy
SELECT title FROM film WHERE title LIKE 'ELF%';+----------------------+ | title | +----------------------+ | ELF PARTY | +----------------------+
SELECT title FROM film WHERE title LIKE '%ELF';+----------------------+ | title | +----------------------+ | ENCINO ELF | | GHOSTBUSTERS ELF | +----------------------+
SELECT title FROM film WHERE title LIKE '%elf%';+----------------------+ | title | +----------------------+
SELECT title, description FROM film WHERE to_tsvector(title) @@ to_tsquery('elf');+----------------------+ | title | +----------------------+ | ELF PARTY | | ENCINO ELF | | GHOSTBUSTERS ELF | +----------------------+
Die Volltextsuche ist eine coole Möglichkeit, um in deiner Datenbank nach Textdaten in natürlicher Sprache zu suchen.
Stemming
Rechtschreibfehler
Rangliste
SELECT title, description
FROM film
WHERE to_tsvector(title) @@ to_tsquery('elf');
Funktionen zur Datenbearbeitung in PostgreSQL