Skip to main content

IncludesSubquery

还没翻译译自英文(tanstack.com)本页 52 段都还没译

Defined in: packages/db/src/query/ir.ts:221

Extends

  • BaseExpression

Constructors

Constructor

new IncludesSubquery(
   query, 
   correlationField, 
   childCorrelationField, 
   fieldName, 
   parentFilters?, 
   parentProjection?, 
   materialization?, 
   scalarField?): IncludesSubquery;

Defined in: packages/db/src/query/ir.ts:223

Parameters

query

QueryIR

correlationField

PropRef

childCorrelationField

PropRef

fieldName

string

parentFilters?

Where[]

parentProjection?

PropRef<any>[]

materialization?

IncludesMaterialization = ...

scalarField?

string

Returns

IncludesSubquery

Overrides

BaseExpression.constructor

Properties

__returnType

readonly __returnType: any;

Defined in: packages/db/src/query/ir.ts:79

Internal

  • Type brand for TypeScript inference

Inherited from

BaseExpression.__returnType

childCorrelationField

childCorrelationField: PropRef;

Defined in: packages/db/src/query/ir.ts:226


correlationField

correlationField: PropRef;

Defined in: packages/db/src/query/ir.ts:225


fieldName

fieldName: string;

Defined in: packages/db/src/query/ir.ts:227


materialization

materialization: IncludesMaterialization;

Defined in: packages/db/src/query/ir.ts:230


parentFilters?

optional parentFilters: Where[];

Defined in: packages/db/src/query/ir.ts:228


parentProjection?

optional parentProjection: PropRef<any>[];

Defined in: packages/db/src/query/ir.ts:229


query

query: QueryIR;

Defined in: packages/db/src/query/ir.ts:224


scalarField?

optional scalarField: string;

Defined in: packages/db/src/query/ir.ts:231


type

type: "includesSubquery";

Defined in: packages/db/src/query/ir.ts:222

Overrides

BaseExpression.type