|
|
static constexpr const char * | Name = "map_contains" |
|
static constexpr const char * | Parameters = "map,key" |
|
static constexpr const char * | Description = "Checks if a map contains a given key." |
|
static constexpr const char * | Example = "map_contains(MAP {'key1': 10, 'key2': 20, 'key3': 30}, 'key2')" |
|
static constexpr const char * | Categories = "" |
◆ GetFunction()
227683 {
227684 auto key_type = LogicalType::TEMPLATE("K");
227685 auto val_type = LogicalType::TEMPLATE("V");
227686
227687 ScalarFunction fun("map_contains", {LogicalType::MAP(key_type, val_type), key_type}, LogicalType::BOOLEAN,
227688 MapContainsFunction);
227689 return fun;
227690}
The documentation for this struct was generated from the following file: