The ordered, immutable columns of a relation. Column names are unique, as the engine requires.

Methods

  • Same columns, by name and type, in the same order. Nullability is ignored, as the engine ignores it when concatenating relations.

    Parameters

    Returns boolean

  • Same columns by name, type and nullability, in the same order: what source schema drift detection compares, unlike equals().

    Parameters

    Returns boolean

  • The column with that name, or undefined

    Parameters

    • name: string

    Returns undefined | SchemaColumn