-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Looking at selectMany in the TableAPI
selectMany :: t1:Table * project:(r1:Row * n:Number -> t2:Table) * result:(r2:Row * r3:Row -> r4:Row) -> t2:Table
I'm wondering if the return value is supposed to be a t3: Table with the constraints adjusted to say that the t3 should have the same schema as r4.
The TS type-signature seems to be closer to that:
export let selectMany = <S1 extends STop, S2 extends STop, S3 extends STop>(t1: Table<S1>, project: (r1: Row<S1>, n: number) => Table<S2>, result: (r2: Row<S1>, r3: Row<S2>) => Row<S3>): Table<S3> => {
I also think it's based off of this linq entry it should have 3 row schema types.
LuKuangChen
Metadata
Metadata
Assignees
Labels
No labels