MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / unwrap_array

Method unwrap_array

src/repr/src/scalar.rs:903–908  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

901 /// Panics if the datum is not [`Datum::Array`].
902 #[track_caller]
903 pub fn unwrap_array(&self) -> Array<'a> {
904 match self {
905 Datum::Array(array) => *array,
906 _ => panic!("Datum::unwrap_array called on {:?}", self),
907 }
908 }
909
910 /// Unwraps the list value within this datum.
911 ///

Callers 15

array_concatFunction · 0.80
unnest_arrayFunction · 0.80
acl_explodeFunction · 0.80
mz_acl_explodeFunction · 0.80
stringify_datumFunction · 0.80
array_array_concatFunction · 0.80
array_create_multidimFunction · 0.80
evalMethod · 0.80
fromMethod · 0.80
test_arrayFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_arrayFunction · 0.64
test_has_int2vector_dimsFunction · 0.64