milvus-logo
Star
0
Forks
0
Get Started

dropPartition()

To drop a partition will drop all data in this partition and the _default partition cannot be dropped.

Invocation

new milvusClient(MILUVS_ADDRESS).partitionManager.dropPartition(DropPartitionReq);

Parameter

DropPartitionReq

ParameterDescriptiontyperequired
collection_nameCollection nameStringtrue
partition_namePartition nameStringtrue

Example

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

Return

// drop partition return