Function duckdb_get_table_names

Source
pub unsafe extern "C" fn duckdb_get_table_names(
    connection: duckdb_connection,
    query: *const c_char,
    qualified: bool,
) -> duckdb_value
Expand description

Get the list of (fully qualified) table names of the query.

@param connection The connection for which to get the table names. @param query The query for which to get the table names. @param qualified Returns fully qualified table names (catalog.schema.table), if set to true, else only the (not escaped) table names. @return A duckdb_value of type VARCHAR[] containing the (fully qualified) table names of the query. Must be destroyed with duckdb_destroy_value.