Skip to content

rel_to_dict

Functions:

  • convert_rty_description

    Convert the SQL result of the joined record type schema description into a Python dictionary.

convert_rty_description

convert_rty_description(
    description: DuckDBPyRelation,
) -> dict

Convert the SQL result of the joined record type schema description into a Python dictionary.

Parameters:

  • description

    (DuckDBPyRelation) –

    Relation from SQL query.

Returns:

  • dict ( dict ) –

    Dictionary representation of a record's schema.