Preparing search index...
The search index is not available
Documentation
Documentation
@sequelize/core
index
AddForeignKeyConstraintQueryOptions
Interface AddForeignKeyConstraintQueryOptions
interface
AddForeignKeyConstraintQueryOptions
{
deferrable
?:
Deferrable
;
fields
:
(
string
|
BaseSqlExpression
|
{
attribute
?:
string
;
name
:
string
;
}
)
[]
;
name
?:
string
;
onDelete
?:
ReferentialAction
;
onUpdate
?:
ReferentialAction
;
references
:
{
field
?:
string
;
fields
:
string
[]
;
table
:
TableOrModel
;
}
|
{
field
:
string
;
fields
?:
string
[]
;
table
:
TableOrModel
;
}
;
type
:
"FOREIGN KEY"
;
}
Hierarchy (
view full
)
BaseConstraintQueryOptions
AddForeignKeyConstraintQueryOptions
Index
Properties
deferrable?
fields
name?
on
Delete?
on
Update?
references
type
Properties
Optional
deferrable
deferrable
?:
Deferrable
fields
fields
:
(
string
|
BaseSqlExpression
|
{
attribute
?:
string
;
name
:
string
;
}
)
[]
Optional
name
name
?:
string
Optional
on
Delete
on
Delete
?:
ReferentialAction
Optional
on
Update
on
Update
?:
ReferentialAction
references
references
:
{
field
?:
string
;
fields
:
string
[]
;
table
:
TableOrModel
;
}
|
{
field
:
string
;
fields
?:
string
[]
;
table
:
TableOrModel
;
}
Type declaration
Optional
field
?:
string
fields
:
string
[]
table
:
TableOrModel
Type declaration
field
:
string
Optional
fields
?:
string
[]
table
:
TableOrModel
type
type
:
"FOREIGN KEY"
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
deferrable
fields
name
on
Delete
on
Update
references
type
Documentation
Loading...