MCPcopy Create free account
hub / github.com/comnik/declarative-dataflow / q

Function q

src/lib.rs:854–859  ·  view source on GitHub ↗

Helper function to create a query plan. The resulting query will provide values for the requested target variables, under the constraints expressed by the bindings provided.

(target_variables: Vec<Var>, bindings: Vec<Binding>)

Source from the content-addressed store, hash-verified

852/// provide values for the requested target variables, under the
853/// constraints expressed by the bindings provided.
854pub fn q(target_variables: Vec<Var>, bindings: Vec<Binding>) -> Plan {
855 Plan::Hector(Hector {
856 variables: target_variables,
857 bindings,
858 })
859}
860
861/// Returns a deduplicates list of all rules used in the definition of
862/// the specified names. Includes the specified names.

Callers 3

mainFunction · 0.85
implement_neuFunction · 0.85
graph_qlFunction · 0.85

Calls 1

HectorClass · 0.85

Tested by 1

graph_qlFunction · 0.68