Back to Sequelize

OptimisticLockError

static/v5/class/lib/errors/optimistic-lock-error.js~OptimisticLockError.html

latest1.7 KB
Original Source

publicclass| source

OptimisticLockError

Extends:

lib/errors/association-error.js~BaseError → OptimisticLockError

Thrown when attempting to update a stale model instance

Member Summary

| Public Members | | public |

modelName: string

The name of the model on which the update was attempted

| | | public |

values: object

The values of the attempted update

| | | public |

where: object

| |

Public Members

publicmodelName: string source

The name of the model on which the update was attempted

publicvalues: object source

The values of the attempted update

publicwhere: object source