Learn R Programming

motherduck (version 0.2.0)

list_fns: List Database Functions (DuckDB/MotherDuck)

Description

Returns a lazy table listing available SQL functions from the current DuckDB/MotherDuck connection using duckdb_functions().

Usage

list_fns(.con)

Value

A dbplyr lazy tibble (tbl_dbi) with function metadata (e.g., function_name, schema, is_aggregate, is_alias, etc.).

Arguments

.con

A valid DBI connection (DuckDB / MotherDuck).

Details

This wrapper validates the connection and then queries duckdb_functions() to enumerate function metadata. The result is a dbplyr lazy tibble (tbl_dbi); call collect() to materialize it in R.

See Also

Other db-list: list_all_databases(), list_all_tables(), list_current_schemas(), list_current_tables(), list_extensions(), list_setting(), list_shares()