From 2140f4d804ee4e39283a5ae100dcd7d0b65cd2e8 Mon Sep 17 00:00:00 2001 From: Andrew Sisley Date: Wed, 13 Apr 2022 19:57:00 -0400 Subject: [PATCH] Document DeleteResult --- client/collection.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }