Function duckdb_table_description_create_ext

Source
pub unsafe extern "C" fn duckdb_table_description_create_ext(
    connection: duckdb_connection,
    catalog: *const c_char,
    schema: *const c_char,
    table: *const c_char,
    out: *mut duckdb_table_description,
) -> duckdb_state
Expand description

Creates a table description object. Note that duckdb_table_description_destroy must be called on the resulting table_description, even if the function returns DuckDBError.

@param connection The connection context. @param catalog The catalog (database) name of the table, or nullptr for the default catalog. @param schema The schema of the table, or nullptr for the default schema. @param table The table name. @param out The resulting table description object. @return DuckDBSuccess on success or DuckDBError on failure.