milvus-logo
Star
0
Forks
0
Get Started

dropCollection()

Drop a collection. It will delete all data in the collection.

Invocation

new milvusClient(MILUVS_ADDRESS).collectionManager.dropCollection(DropCollectionReq);

Parameter

DropCollectionReq

ParameterDescriptiontyperequired
collection_nameCollection nameStringtrue

Example

new milvusClient(MILUVS_ADDRESS).collectionManager.dropCollection({
  collection_name: 'my_collection',
});

Return

// dropCollection return