Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LiteralQuery ¶
LiteralQuery converts free-form user text into an FTS5 MATCH expression that treats every whitespace-delimited chunk as a literal string, not as FTS5 query syntax. SQL parameters protect the SQL parser; callers still need this helper for the second parser: FTS5's MATCH expression grammar.
func LiteralQueryMin ¶
LiteralQueryMin is like LiteralQuery, but drops chunks shorter than minRunes.
func PrefixORQuery ¶
PrefixORQuery converts free-form text into an FTS5 expression matching any alphanumeric token by prefix. This is useful for recall-oriented fuzzy-ish dedupe searches where any word match should produce a candidate.
func QuoteString ¶
QuoteString returns an FTS5 double-quoted string literal.
Types ¶
This section is empty.