entc/gen: fix codegen typo

This commit is contained in:
Ariel Mashraki
2022-10-26 20:56:28 +03:00
committed by Ariel Mashraki
parent fc9a4f9c6e
commit 3ddcb76ba0
34 changed files with 124 additions and 124 deletions

View File

@@ -182,7 +182,7 @@ func (c *UserClient) DeleteOne(u *User) *UserDeleteOne {
return c.DeleteOneID(u.ID)
}
// DeleteOne returns a builder for deleting the given entity by its id.
// DeleteOneID returns a builder for deleting the given entity by its id.
func (c *UserClient) DeleteOneID(id int) *UserDeleteOne {
builder := c.Delete().Where(user.ID(id))
builder.mutation.id = &id