Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ parse_prefix
Function
parse_prefix
nodedb-sql/src/functions/fts_ops/tsquery_parser.rs:235–238 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
233
234
#[test]
235
fn parse_prefix() {
236
let q = parse_tsquery(
"rust:*"
).unwrap();
237
assert_eq!(q, FtsQuery::Prefix(
"rust"
.into()));
238
}
239
240
#[test]
241
fn parse_nested() {
Callers
nothing calls this directly
Calls
1
parse_tsquery
Function · 0.85
Tested by
no test coverage detected