[skip ci] Add comment for Delete (#11844)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-11-16 09:10:20 +08:00 committed by GitHub
parent e551283634
commit da854d783e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1382,6 +1382,7 @@ func (node *Proxy) Insert(ctx context.Context, request *milvuspb.InsertRequest)
return it.result, nil
}
// Delete delete records from collection, then these records cannot be searched.
func (node *Proxy) Delete(ctx context.Context, request *milvuspb.DeleteRequest) (*milvuspb.MutationResult, error) {
sp, ctx := trace.StartSpanFromContextWithOperationName(ctx, "Proxy-Delete")
defer sp.Finish()