Search
Preparing search index...
The search index is not available
@sequelize/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@sequelize/core
HasMany
Class HasMany<S, T>
Type parameters
S
:
Model
=
Model
T
:
Model
=
Model
Hierarchy
Association
<
S
,
T
>
HasMany
Index
Constructors
constructor
Properties
accessors
as
association
Type
foreign
Key
identifier
is
Aliased
is
Multi
Association
is
Self
Association
is
Single
Association
source
target
Methods
inspect
Constructors
constructor
new
Has
Many
<
S
,
T
>
(
source
:
ModelStatic
<
S
>
, target
:
ModelStatic
<
T
>
, options
:
HasManyOptions
)
:
HasMany
<
S
,
T
>
Type parameters
S
:
Model
<
any
,
any
,
S
>
=
Model
<
any
,
any
>
T
:
Model
<
any
,
any
,
T
>
=
Model
<
any
,
any
>
Parameters
source:
ModelStatic
<
S
>
target:
ModelStatic
<
T
>
options:
HasManyOptions
Returns
HasMany
<
S
,
T
>
Properties
accessors
accessors
:
MultiAssociationAccessors
as
as
:
string
association
Type
association
Type
:
string
foreign
Key
foreign
Key
:
string
identifier
identifier
:
string
is
Aliased
is
Aliased
:
boolean
is
Multi
Association
is
Multi
Association
:
boolean
is
Self
Association
is
Self
Association
:
boolean
is
Single
Association
is
Single
Association
:
boolean
source
source
:
ModelStatic
<
S
>
target
target
:
ModelStatic
<
T
>
Methods
inspect
inspect
(
)
:
string
Returns
string
Exports
Data
Types
Utils
Has
Many
constructor
accessors
as
association
Type
foreign
Key
identifier
is
Aliased
is
Multi
Association
is
Self
Association
is
Single
Association
source
target
inspect
Generated using
TypeDoc