View definition

type OptimisticLockError

Defined in github.com/go-gorp/gorp/lockerror.go

Description

OptimisticLockError is returned by Update() or Delete() if the struct being modified has a Version field and the value is not equal to the current value in the database

OptimisticLockError is referenced in 1 repository

github.com/go-gorp/gorp