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

Function register_std_array_functions

crates/gitql-std/src/array/mod.rs:24–37  ·  view source on GitHub ↗
(map: &mut HashMap<&'static str, StandardFunction>)

Source from the content-addressed store, hash-verified

22
23#[inline(always)]
24pub fn register_std_array_functions(map: &mut HashMap<&'static str, StandardFunction>) {
25 map.insert("array_append", array_append);
26 map.insert("array_prepend", array_prepend);
27 map.insert("array_remove", array_remove);
28 map.insert("array_cat", array_cat);
29 map.insert("array_length", array_length);
30 map.insert("array_shuffle", array_shuffle);
31 map.insert("array_position", array_position);
32 map.insert("array_positions", array_positions);
33 map.insert("array_dims", array_dims);
34 map.insert("array_replace", array_replace);
35 map.insert("trim_array", array_trim);
36 map.insert("cardinality", array_cardinality);
37}
38
39#[inline(always)]
40pub fn register_std_array_function_signatures(map: &mut HashMap<&'static str, Signature>) {

Callers 1

standard_functionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…