mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments of client file on benchmark (#9570)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/9590/head
parent
d0bc0cd697
commit
47110423b0
|
@ -224,6 +224,7 @@ class MilvusClient(object):
|
|||
|
||||
@time_wrapper
|
||||
def delete(self, ids, collection_name=None):
|
||||
# delete entity by id
|
||||
tmp_collection_name = self._collection_name if collection_name is None else collection_name
|
||||
self._milvus.delete_entity_by_id(tmp_collection_name, ids)
|
||||
|
||||
|
|
Loading…
Reference in New Issue