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-

hyperspaceClient.clear_collection(collectionName);

Last updated