• Reuses the type variable values of knownColumn (e.g. the size of Varchar(200)) when it matches type, since execution results and relation casts do not always report them.

    Parameters

    • knownColumn: undefined | { type: string; typeVariableValues?: readonly number[] }
    • type: string

    Returns undefined | readonly number[]