Skip to main content

duckdb_scalar_function_set_init

Function duckdb_scalar_function_set_init 

Source
pub unsafe extern "C" fn duckdb_scalar_function_set_init(
    scalar_function: duckdb_scalar_function,
    init: duckdb_scalar_function_init_t,
)
Expand description

Sets the (optional) state init function of the scalar function. This is called once for each worker thread that begins executing the function

history:

  • unstable: v1.5.0
  • stable: v1.5.6

@param scalar_function The scalar function. @param init The init function. @return void