Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreOptimisticLocking ¶
IgnoreOptimisticLocking ingore Optionistic Locking
Types ¶
type OptimisticLocking ¶
OptimisticLocking for ent. db field is lock_ver int64 only OpUpdateOne do update table set lock_ver = lock_ver +1 , set ... where lock_ver = n -- n is SetLockVer(n) when opUpdate OptimisticLocking was ResetLockVer
func (OptimisticLocking) Fields ¶
func (v OptimisticLocking) Fields() []ent.Field
func (OptimisticLocking) Hooks ¶
func (v OptimisticLocking) Hooks() []ent.Hook
func (OptimisticLocking) Indexes ¶
func (v OptimisticLocking) Indexes() []ent.Index
type SoftDelete ¶
func (SoftDelete) Fields ¶
func (SoftDelete) Fields() []ent.Field
func (SoftDelete) Hooks ¶
func (d SoftDelete) Hooks() []ent.Hook
func (SoftDelete) Indexes ¶
func (SoftDelete) Indexes() []ent.Index
func (SoftDelete) Interceptors ¶
func (d SoftDelete) Interceptors() []ent.Interceptor
Click to show internal directories.
Click to hide internal directories.