Skip to main content

register_file_source

Function register_file_source 

Source
pub fn register_file_source(
    registry: &ConnectorRegistry,
) -> Result<(), ConnectorError>
Expand description

Registers the file source connector in the registry.

This is called by LaminarDB::register_builtin_connectors() when the files feature is enabled, and makes FROM FILES (...) available in CREATE SOURCE statements.

ยงErrors

Returns an error if the connector name is already registered or the registry is frozen.