Preparing search index...
The search index is not available
Documentation
Documentation
@sequelize/core
index
OptimisticLockError
Class OptimisticLockError
Thrown when attempting to update a stale model instance
Hierarchy (
view full
)
BaseError
OptimisticLockError
Index
Constructors
constructor
Properties
model
Name
values
where
Accessors
original
parent
Constructors
constructor
new
Optimistic
Lock
Error
(
options
?
,
errorOptions
?
)
:
OptimisticLockError
Parameters
Optional
options
:
OptimisticLockErrorOptions
Optional
errorOptions
:
ErrorOptions
Returns
OptimisticLockError
Properties
model
Name
model
Name
:
undefined
|
string
values
values
:
undefined
|
Record
<
string
,
unknown
>
where
where
:
undefined
|
Record
<
string
,
unknown
>
Accessors
original
get
original
(
)
:
this
[
"cause"
]
Returns
this
[
"cause"
]
Deprecated
use cause.
parent
get
parent
(
)
:
this
[
"cause"
]
Returns
this
[
"cause"
]
Deprecated
use cause.
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
model
Name
values
where
original
parent
Documentation
Loading...
Thrown when attempting to update a stale model instance