mirror of
https://github.com/ent/ent.git
synced 2026-04-28 05:30:56 +03:00
doc: fix Delete example in crud.md (#877)
This commit is contained in:
@@ -270,9 +270,9 @@ err := client.User.
|
||||
Delete using predicates.
|
||||
|
||||
```go
|
||||
err := client.File.
|
||||
_, err := client.File.
|
||||
Delete().
|
||||
Where(file.UpdatedAtLT(date))
|
||||
Where(file.UpdatedAtLT(date)).
|
||||
Exec(ctx)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user