Skip to main content

construct_array_with_control

Function construct_array_with_control 

Source
pub fn construct_array_with_control(
    count: usize,
    input_type: Option<&ColumnType>,
    control: &ProductionControl<'_>,
    evaluate: impl FnMut(usize) -> Result<Produced<Value>, SQLError>,
) -> Result<Produced<Value>, SQLError>
Expand description

Form ARRAY expression output from already selected scalar element metadata. Domain input has already run in each evaluated expression; retaining an array-valued scalar must not run it again.