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

Method RegisterReadFunctions

src/function/table/read_csv.cpp:193–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void BuiltinFunctions::RegisterReadFunctions() {
194 CSVCopyFunction::RegisterFunction(*this);
195 ReadCSVTableFunction::RegisterFunction(*this);
196 AddFunction(MultiFileReader::CreateFunctionSet(ReadDuckDBTableFunction::GetFunction()));
197 auto &config = DBConfig::GetConfig(*transaction.db);
198 config.replacement_scans.emplace_back(ReadCSVReplacement);
199 config.replacement_scans.emplace_back(ReadDuckDBTableFunction::ReplacementScan);
200}
201
202} // namespace duckdb

Callers

nothing calls this directly

Calls 3

AddFunctionClass · 0.85
GetFunctionFunction · 0.70
emplace_backMethod · 0.45

Tested by

no test coverage detected