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::ArrayLengthFun Struct Reference

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "array_length"
static constexpr const char * Parameters = "list::ANY[]\001list::ANY[],dimension::ANY"
static constexpr const char * Description = "Returns the length of the `list`.\001`array_length` for lists with dimensions other than 1 not implemented"
static constexpr const char * Example = "array_length([1, 2, 3])\001"
static constexpr const char * Categories = "list\001"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::ArrayLengthFun::GetFunctions ( )
static
232886 {
232887 ScalarFunctionSet array_length("array_length");
232888 array_length.AddFunction(
232889 ScalarFunction({LogicalType::LIST(LogicalType::ANY)}, LogicalType::BIGINT, nullptr, ArrayOrListLengthBind));
232890 array_length.AddFunction(ScalarFunction({LogicalType::LIST(LogicalType::ANY), LogicalType::BIGINT},
232891 LogicalType::BIGINT, nullptr, ArrayOrListLengthBinaryBind));
232892 for (auto &func : array_length.functions) {
232893 func.SetFallible();
232894 }
232895 return (array_length);
232896}

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