clear_collection

The function clear_collection(collection_name)clears the data from a Collection. Once a Collection is cleared, the data it contained is lost.

Input-

  • collection_name – Specifies the Collection in which to clear the data.

Example-

hyperspace_client.clear_collection(collection_name)

Last updated