Libraries v5.0.0
    Preparing search index...

    Interface TableAlias<S, N>

    Immutable table identity; does not mutate the schema's column metadata.

    interface TableAlias<S extends TableSchema, N extends string> {
        "[ALIAS]": true;
        name: N;
        schema: S;
    }

    Type Parameters

    • S extends TableSchema
    • N extends string
    Index
    "[ALIAS]": true
    name: N

    Literal SQL alias exposed as a key in joined selector callbacks.

    schema: S

    The original immutable schema used to resolve columns and read scopes.