milvus-logo
Star
0
Forks
0
快速开始

deleteEntities()

Delete entities in a collection

Invocation

new milvusClient(MILUVS_ADDRESS).dataManager.deleteEntities(DeleteEntitiesReq);

Parameter

DeleteEntitiesReq

ParameterDescriptiontyperequired
collection_nameCollection nameStringtrue
partition_name(optional)partition nameStringfalse
exprBoolean expression used to filter attribute.Stringfalse

Example

new milvusClient(MILUVS_ADDRESS).dataManager.deleteEntities({
   collection_name: COLLECTION_NAME,
   expr: 'id in [1,2,3,4]'
 });

Return

// DeleteEntitiesReq return