Skip to content

Commit

Permalink
Document DeleteResult
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Apr 14, 2022
1 parent 6005ddd commit d645083
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit d645083

Please sign in to comment.