$ open source · GPL-3.0 — need a commercial license? imqueue.com →

WithIncludeMap interface

The shape sequelize's resolved include tree actually has, as this module reads it.

Signature:

export interface WithIncludeMap extends InitOptions 

Extends: InitOptions

Remarks

Sequelize builds this while working out an include, and does not declare it in its public types. It is declared here because the select-query override walks the tree looking for dynamic views nested inside a join, and needs each node's alias to rewrite the right part of the statement. Of no use to application code.

Properties

Property

Modifiers

Type

Description

includeMap?

{ [propertyName: string]: WithIncludeMap & IncludeOptions & FindOptions; }

(Optional) The resolved options of each included association, keyed by property name.

includeNames?

string[]

(Optional) The property names present in includeMap.

parent

WithIncludeMap

The node this one was included from.