Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

ContextFromUnionBranches.md

86 lines1.9 KB

type ContextFromUnionBranches<TBranches> = object;

Defined in: packages/db/src/query/builder/types.ts:183

Type Parameters

TBranches

TBranches extends readonly [QueryBuilder<any>, ...QueryBuilder<any>[]]

Properties

baseSchema

baseSchema: UnionBranchSchema<TBranches> & ContextSchema;

Defined in: packages/db/src/query/builder/types.ts:186


fromSourceName

fromSourceName: keyof UnionBranchSchema<TBranches> & string;

Defined in: packages/db/src/query/builder/types.ts:189


hasJoins

hasJoins: false;

Defined in: packages/db/src/query/builder/types.ts:190


hasResult

hasResult: true;

Defined in: packages/db/src/query/builder/types.ts:192


refsSchema

refsSchema: UnionBranchSchema<TBranches>;

Defined in: packages/db/src/query/builder/types.ts:188


result

result: PrettifyIfPlainObject<UnionBranchResult<TBranches>>;

Defined in: packages/db/src/query/builder/types.ts:191


schema

schema: UnionBranchSchema<TBranches> & ContextSchema;

Defined in: packages/db/src/query/builder/types.ts:187