Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method PostgrestFilterBuilder.prototype.textSearch
import { PostgrestFilterBuilder } from "https://deno.land/x/postgrest@1.1.0/src/lib/PostgrestFilterBuilder.ts";

Finds all rows whose text or tsvector value on the stated column matches the tsquery in query.

Parameters

column: keyof T

The column to filter on.

query: string

The Postgres tsquery string to filter with.

optional
unnamed 2: { config?: string; type?:
| "plain"
| "phrase"
| "websearch"
| null
; }
= [UNSUPPORTED]

The text search configuration to use.