MCPcopy Create free account
hub / github.com/duckdb/duckdb / Initialize

Method Initialize

src/function/function.cpp:95–112  ·  view source on GitHub ↗

add your initializer for new functions here

Source from the content-addressed store, hash-verified

93
94// add your initializer for new functions here
95void BuiltinFunctions::Initialize() {
96 RegisterTableScanFunctions();
97 RegisterSQLiteFunctions();
98 RegisterReadFunctions();
99 RegisterTableFunctions();
100 RegisterArrowFunctions();
101
102 RegisterPragmaFunctions();
103
104 RegisterCopyFunctions();
105
106 // initialize collations
107 AddCollation("nocase", LowerFun::GetFunction(), true);
108 AddCollation("noaccent", StripAccentsFun::GetFunction(), true);
109 AddCollation("nfc", NFCNormalizeFun::GetFunction());
110
111 RegisterExtensionOverloads();
112}
113
114hash_t BaseScalarFunction::Hash() const {
115 hash_t hash = return_type.Hash();

Callers

nothing calls this directly

Calls 1

GetFunctionFunction · 0.50

Tested by

no test coverage detected