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

milvus-logo
LFAI
< Docs
  • Python

drop_collection()

This method drops a collection.

Invocation

drop_collection(collection_name)

Parameters

ParameterDescriptionTypeRequired
collection_nameName of the collection to drop.StringTrue

Return

None

Raises

None

Example

from pymilvus import MilvusClient

client = MilvusClient(uri, token)

client.drop_collection(collection_name='my-collection')

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?