ContextFromUnionBranches

Type Alias: ContextFromUnionBranches<TBranches>

ts
type ContextFromUnionBranches<TBranches> = object;
type ContextFromUnionBranches<TBranches> = object;

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

Type Parameters

TBranches

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

Properties

baseSchema

ts
baseSchema: UnionBranchSchema<TBranches> & ContextSchema;
baseSchema: UnionBranchSchema<TBranches> & ContextSchema;

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


fromSourceName

ts
fromSourceName: keyof UnionBranchSchema<TBranches> & string;
fromSourceName: keyof UnionBranchSchema<TBranches> & string;

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


hasJoins

ts
hasJoins: false;
hasJoins: false;

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


hasResult

ts
hasResult: true;
hasResult: true;

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


refsSchema

ts
refsSchema: UnionBranchSchema<TBranches>;
refsSchema: UnionBranchSchema<TBranches>;

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


result

ts
result: PrettifyIfPlainObject<UnionBranchResult<TBranches>>;
result: PrettifyIfPlainObject<UnionBranchResult<TBranches>>;

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


schema

ts
schema: UnionBranchSchema<TBranches> & ContextSchema;
schema: UnionBranchSchema<TBranches> & ContextSchema;

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