Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/postgrest/src/lib/PostgrestFilterBuilder.ts>PostgrestFilterBuilder#fts

Isomorphic JavaScript client for PostgREST.
Latest
method PostgrestFilterBuilder.prototype.fts
Deprecated
Deprecated

Use textSearch() instead.

import { PostgrestFilterBuilder } from "https://deno.land/x/postgrest@1.1.0/src/lib/PostgrestFilterBuilder.ts";

Finds all rows whose tsvector value on the stated column matches to_tsquery(query).

Parameters

column: keyof T

The column to filter on.

query: string

The Postgres tsquery string to filter with.

optional
unnamed 2: { config?: string; } = [UNSUPPORTED]

The text search configuration to use.