MCPcopy Create free account
hub / github.com/carsonpo/haystackdb / Query

Class Query

tests/filters.rs:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#[derive(Debug, Serialize, Deserialize, Clone)]
15pub struct Query {
16 filters: Filter,
17}
18
19fn handle_query(json_query: &str, index: &mut InvertedIndex) -> Filters {
20 let query: Query = serde_json::from_str(json_query).expect("Failed to parse query");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected