milvus-logo
Star
0
Forks
0
快速开始

hasPartition()

Check if a partition exists in a collection.

Invocation

new milvusClient(MILUVS_ADDRESS).partitionManager.hasPartition(HasPartitionReq);

Parameter

HasPartitionReq

ParameterDescriptiontyperequired
collection_nameCollection nameStringtrue
partition_namePartition nameStringtrue

Example

new milvusClient(MILUVS_ADDRESS).partitionManager.hasPartition({
  collection_name: 'my_collection',
  partition_name: 'my_partition',
});

Return

// hasPartition return