mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
all: small typo fixes (#2095)
This commit is contained in:
committed by
GitHub
parent
681d03e896
commit
147b1f59ae
@@ -2426,7 +2426,7 @@ func (s *Selector) ForShare(opts ...LockOption) *Selector {
|
||||
return s.For(LockShare, opts...)
|
||||
}
|
||||
|
||||
// LockUpdate sets the lock configuration for suffixing the
|
||||
// ForUpdate sets the lock configuration for suffixing the
|
||||
// `SELECT` statement with the `FOR UPDATE` clause.
|
||||
func (s *Selector) ForUpdate(opts ...LockOption) *Selector {
|
||||
return s.For(LockUpdate, opts...)
|
||||
|
||||
Reference in New Issue
Block a user