MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / parse_single_term

Function parse_single_term

nodedb-sql/src/functions/fts_ops/tsquery_parser.rs:187–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185
186 #[test]
187 fn parse_single_term() {
188 let q = parse_tsquery("rust").unwrap();
189 assert_eq!(
190 q,
191 FtsQuery::Plain {
192 text: "rust".into(),
193 fuzzy: false
194 }
195 );
196 }
197
198 #[test]
199 fn parse_and_two_terms() {

Callers

nothing calls this directly

Calls 1

parse_tsqueryFunction · 0.85

Tested by

no test coverage detected