Type Alias: RowFor<T, F>
RowFor<
T,F> =Fextends"*"?T:Fextends readonly keyofT[] ?Pick<T,F[number]> :T
Defined in: packages/client/src/modules/db/types.ts:46
Resolves the row shape for a given fields argument: '*' (or omitted) is the full document; a literal field array narrows to Pick<T, F[number]>.
Type Parameters
T
T
F
F extends FieldsArg<T>