Truncate KV Store Collections
When you truncate a collection, you remove all the documents from the collection but leave the indexes in place.
Truncate All Key-Value Pairs
- Log in to your Macrometa account.
- Click Data > Collections.
- Click the collection that you want to truncate.
- Click Settings.
- In the Settings tab, click Truncate Collection.
- Click Truncate.
Truncate a Specific Group
If you selected Group at collection creation, then you can truncate only documents in a particular group. This deletes all documents in the group and leaves everything else, including other documents and indexes, intact.
- Log in to your Macrometa account.
- Click Data > Collections.
- Click the collection that you want to truncate.
- Click Settings.
- In the Settings tab, click Truncate Collection.
- Click Add Group ID.
- In the Group ID field, enter the group that you want to truncate.
- Click Truncate.