Documentation
    Preparing search index...

    Type Alias BuildAliasTable<TTable, TAlias>

    BuildAliasTable: TTable extends Table
        ? SQLiteTableWithColumns<
            UpdateTableConfig<
                TTable["_"]["config"],
                {
                    columns: MapColumnsToTableAlias<
                        TTable["_"]["columns"],
                        TAlias,
                        "sqlite",
                    >;
                    name: TAlias;
                },
            >,
        >
        : TTable extends View
            ? SQLiteViewWithSelection<
                TAlias,
                TTable["_"]["existing"],
                MapColumnsToTableAlias<TTable["_"]["selectedFields"], TAlias, "sqlite">,
            >
            : never

    Type Parameters