Skip to main content

require_input

Macro require_input 

Source
macro_rules! require_input {
    ($args:expr, $idx:expr => $M:ty) => { ... };
}
Expand description

The scalar function counterpart of require_child!: require that input $idx of $args matches $M. If it does not, early-returns a ScalarFnExecutionResult asking the executor to execute that input until it matches, so the function is stepped again with the executed input.

ⓘ
require_input!(args, 0 => AnyColumnar);