MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / new

Method new

graphlite/src/exec/result.rs:66–75  ·  view source on GitHub ↗

Create a new empty query result

()

Source from the content-addressed store, hash-verified

64impl QueryResult {
65 /// Create a new empty query result
66 pub fn new() -> Self {
67 Self {
68 rows: Vec::new(),
69 variables: Vec::new(),
70 execution_time_ms: 0,
71 rows_affected: 0,
72 session_result: None,
73 warnings: Vec::new(),
74 }
75 }
76
77 /// Create a query result for a session statement
78 pub fn for_session(session_result: SessionResult) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected