drop collection usage #38480
Unanswered
vihariazure
asked this question in
Q&A and General discussion
Replies: 1 comment 1 reply
-
If you want to delete all the entities of a collection, it is better to drop the collection. client.drop_collection is preferred. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my requirement is to delete data inside the collection
for above purpose do i need to use (drop collection vs delete entities )
for drop collection which code do i need to use
from pymilvus import utility
utility.drop_collection("book")
(or)
client.drop_collection(collection_name="book")
Beta Was this translation helpful? Give feedback.
All reactions