milvus-logo
LFAI
< Docs

has_collection()

This method checks if a collection exists.

Invocation

has_collection(collection_name, using='default')

Parameters

ParameterDescriptionTypeRequired
collection_nameName of the collection to checkStringTrue
usingMilvus Connection used to check the collectionStringFalse

Return

Boolean value that indicates if the collection exists.

Feedback

Was this page helpful?