Preparing search index...
The search index is not available
Documentation
Documentation
@sequelize/core
index
GetConstraintSnippetQueryOptions
Interface GetConstraintSnippetQueryOptions
interface
GetConstraintSnippetQueryOptions
{
defaultValue
?:
unknown
;
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
:
ConstraintType
;
where
?:
WhereOptions
<
any
>
;
}
Index
Properties
default
Value?
deferrable?
fields
name?
on
Delete?
on
Update?
references?
type
where?
Properties
Optional
default
Value
default
Value
?:
unknown
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
Optional
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
:
ConstraintType
Optional
where
where
?:
WhereOptions
<
any
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
default
Value
deferrable
fields
name
on
Delete
on
Update
references
type
where
Documentation
Loading...
Generated using
TypeDoc