MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / with_aggregation_functions

Method with_aggregation_functions

crates/gitql-core/src/environment.rs:79–86  ·  view source on GitHub ↗

Register aggregation functions signatures and references

(
        &mut self,
        signatures: &HashMap<&'static str, Signature>,
        aggregation: &HashMap<&'static str, AggregationFunction>,
    )

Source from the content-addressed store, hash-verified

77
78 /// Register aggregation functions signatures and references
79 pub fn with_aggregation_functions(
80 &mut self,
81 signatures: &HashMap<&'static str, Signature>,
82 aggregation: &HashMap<&'static str, AggregationFunction>,
83 ) {
84 self.aggregation_signatures.extend(signatures.to_owned());
85 self.aggregation_functions.extend(aggregation.to_owned());
86 }
87
88 /// Register Window functions signatures and references
89 pub fn with_window_functions(

Callers 1

create_gitql_environmentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected