diff --git a/client/collection.go b/client/collection.go index 4a10f2d32c..b4d9ad2c32 100644 --- a/client/collection.go +++ b/client/collection.go @@ -159,7 +159,10 @@ type UpdateResult struct { DocKeys []string } +// DeleteResult wraps the result of an delete call. type DeleteResult struct { - Count int64 + // Count contains the number of documents deleted by the delete call. + Count int64 + // DocKeys contains the DocKeys of all the documents deleted by the delete call. DocKeys []string }