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
defaultValue
?:
unknown
Optional
deferrable
deferrable
?:
Deferrable
fields
fields
:
(
string
|
BaseSqlExpression
|
{
attribute
?:
string
;
name
:
string
}
)
[]
Type declaration
string
BaseSqlExpression
{
attribute
?:
string
;
name
:
string
}
Optional
attribute
?:
string
Deprecated
use
name
instead
name
:
string
Optional
name
name
?:
string
Optional
on
Delete
onDelete
?:
ReferentialAction
Optional
on
Update
onUpdate
?:
ReferentialAction
Optional
references
references
?:
|
{
field
?:
string
;
fields
:
string
[]
;
table
:
TableOrModel
}
|
{
field
:
string
;
fields
?:
string
[]
;
table
:
TableOrModel
}
type
type
:
ConstraintType
Optional
where
where
?:
WhereOptions
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
default
Value
deferrable
fields
name
on
Delete
on
Update
references
type
where
Documentation
Loading...
Deprecated
use
name
instead