Options for eager-loading associated models.
The association can be specified in different ways:
{ include: 'associationName' }
{ include: MyModel.associations['associationName'] }
{ include: Model1 }
{ include: { model: Model1, as: 'Alias' } }
You can also eagerly load all associations using { include: { all: true } } (not recommended outside of debugging)
{ include: { all: true } }
Generated using TypeDoc
Options for eager-loading associated models.
The association can be specified in different ways:
{ include: 'associationName' }
(recommended){ include: MyModel.associations['associationName'] }
{ include: Model1 }
{ include: { model: Model1, as: 'Alias' } }
You can also eagerly load all associations using
{ include: { all: true } }
(not recommended outside of debugging)