Purge tree

Purpose: Delete all tree nodes.

 purge-tree <tree>

purge-tree will delete all <tree> nodes; <tree> must have been created with new-tree. All of <tree>'s nodes, and their keys/values all deleted.

After purge-tree, the tree is empty and you can use it again (write into it, read from it etc.).
Examples
Delete all tree data:
 new-tree mytree
 ...
 purge-tree mytree

See also
Tree
delete-tree  
get-tree  
new-tree  
purge-tree  
read-tree  
use-cursor  
write-tree  
See all
documentation


Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.