Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::ListPositionFun Struct Reference

Static Public Member Functions

static ScalarFunction GetFunction ()

Static Public Attributes

static constexpr const char * Name = "list_position"
static constexpr const char * Parameters = "list,element"
static constexpr const char * Description = "Returns the index of the `element` if the `list` contains the `element`. If the `element` is not found, it returns `NULL`."
static constexpr const char * Example = "list_position([1, 2, NULL], 2)"
static constexpr const char * Categories = "list"

Member Function Documentation

◆ GetFunction()

ScalarFunction duckdb::ListPositionFun::GetFunction ( )
static
226728 {
226729 auto fun = ScalarFunction({LogicalType::LIST(LogicalType::TEMPLATE("T")), LogicalType::TEMPLATE("T")},
226730 LogicalType::INTEGER, ListSearchFunction<int32_t, true>);
226731 fun.SetNullHandling(FunctionNullHandling::SPECIAL_HANDLING);
226732 return fun;
226733}

The documentation for this struct was generated from the following file: