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

IncludesSubquery.md

188 lines3.1 KB

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

Extends

  • BaseExpression

Constructors

Constructor

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

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

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:78

Internal

  • Type brand for TypeScript inference

Inherited from

BaseExpression.__returnType

childCorrelationField

childCorrelationField: PropRef;

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


correlationField

correlationField: PropRef;

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


fieldName

fieldName: string;

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


materialization

materialization: IncludesMaterialization;

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


parentFilters?

optional parentFilters: Where[];

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


parentProjection?

optional parentProjection: PropRef<any>[];

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


query

query: QueryIR;

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


scalarField?

optional scalarField: string;

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


type

type: "includesSubquery";

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

Overrides

BaseExpression.type