doc: fix Delete example in crud.md (#877)

This commit is contained in:
Aizat Faiz
2020-10-23 13:13:39 +08:00
committed by GitHub
parent 18e46c5648
commit 8226472d4c

View File

@@ -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)
```