milvus-logo
Star
0
Forks
0
快速开始

showPartitions()

This method lists all the partitions in a specified collection.

Invocation

new milvusClient(MILUVS_ADDRESS).partitionManager.showPartitions(ShowPartitionsReq);

Parameters

ShowPartitionsReq

ParameterDescriptionTypeRequired
collection_nameName of the collection to list all the partitions withinStringTrue

Example

new milvusClient(MILUVS_ADDRESS).partitionManager.showPartitions({
  collection_name: 'my_collection',
});

Return

{
  status: { error_code: 'Success', reason: '' },
  partition_names: [ '_default', 'my_partition' ],
  partitionIDs: [ '434827144696954882', '434827353243779073' ],
  created_timestamps: [ '434827144696954883', '434827353243779075' ],
  created_utc_timestamps: [ '1658733919895', '1658734715438' ],
  inMemory_percentages: []
}