🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

milvus-logo
LFAI
< Docs
  • Python

has_partition()

This method checks if a partition exists in a specified collection.

Invocation

has_partition(collection_name, partition_name, using='default')

Parameters

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

Return

Boolean value that indicates if the partition exists.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?