delete

Encapsulates commands that delete key/value pairs from store or rows from table. The subcommands are as follows:

delete kv

delete kv [-key <key>] [-start prefixString] [-end prefixString] [-all]

Deletes one or more keys. If -all is specified, delete all keys starting at the specified key. If no key is specified, delete all keys in the store. The -start and -end flags can be used for restricting the range used for deleting.

For example, to delete all keys in the store starting at root:

kv -> delete kv -all
301 Keys deleted starting at root

delete table

kv-> delete table -name <table_name>
 [-field <name> -value <value>]*
 [-field <name> [-start <value>] [-end <value>]]
 [-ancestor <name>]* [-child <child_name>]*
 [-json <string>] [-delete-all]

Deletes one or multiple rows from the named table.