Documentation

    row

    Create an unnamed struct from its arguments.

    Try an expression

    In Formula, enter the expression and set Output type to VARCHAR.

    Expression

    row(10, 2, 2.5)

    Result

    '(10, 2, 2.5)'

    The expression returns STRUCT(INTEGER, INTEGER, DECIMAL(2,1)). Formula stores it as VARCHAR in this example. To use your own data, replace the example values with column names. Keep format strings and other options as written.

    Arguments and types

    row(...)
    Supported signatures (1)
    row(...: ANY) → STRUCT

    The result type can depend on the input types. See DuckDB for the full argument rules.

    Things to know

    With a missing first argument

    row(NULL::INTEGER, 2, 2.5)

    '(NULL, 2, 2.5)'

    Browse structsDuckDB documentation

    Function metadata from DuckDB, used under the MIT license.