milvus-logo
Star
0
Forks
0
快速开始

hasCollection()

Check if the collection exists.

Invocation

new milvusClient(MILUVS_ADDRESS).collectionManager.hasCollection(HasCollectionReq);

Parameter

HasCollectionReq

ParameterDescriptiontyperequired
collection_nameCollection nameStringtrue

Example

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

Return

// hasCollection return