Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrations ¶ added in v0.58.0
Migrations returns migrations to be applied on top of the "common" migrations for the postgres built-in full-text search module to work, the module migration IDs range is [3000-3999]
func Search ¶
func Search(ctx context.Context, qx sqlx.QueryerContext, q persistence.SearchQuery) (persistence.SearchQueryResult, error)
Search is an implementation of the postgres.SearchFn function based on the postgres built-in full-text search. Queries must be formed in accordance with the `websearch_to_tsquery()` query syntax, see https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.