IncludesSubquery

Class: IncludesSubquery

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

Extends

  • BaseExpression

Constructors

Constructor

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

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

Parameters

query

QueryIR

correlationField

PropRef

childCorrelationField

PropRef

fieldName

string

parentFilters?

Where[]

parentProjection?

PropRef<any>[]

materialization?

IncludesMaterialization = ...

scalarField?

string

Returns

IncludesSubquery

Overrides

ts
BaseExpression.constructor
BaseExpression.constructor

Properties

__returnType

ts
readonly __returnType: any;
readonly __returnType: any;

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

Internal

  • Type brand for TypeScript inference

Inherited from

ts
BaseExpression.__returnType
BaseExpression.__returnType

childCorrelationField

ts
childCorrelationField: PropRef;
childCorrelationField: PropRef;

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


correlationField

ts
correlationField: PropRef;
correlationField: PropRef;

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


fieldName

ts
fieldName: string;
fieldName: string;

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


materialization

ts
materialization: IncludesMaterialization;
materialization: IncludesMaterialization;

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


parentFilters?

ts
optional parentFilters: Where[];
optional parentFilters: Where[];

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


parentProjection?

ts
optional parentProjection: PropRef<any>[];
optional parentProjection: PropRef<any>[];

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


query

ts
query: QueryIR;
query: QueryIR;

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


scalarField?

ts
optional scalarField: string;
optional scalarField: string;

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


type

ts
type: "includesSubquery";
type: "includesSubquery";

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

Overrides

ts
BaseExpression.type
BaseExpression.type