From fb4ed363aba7a72a44c66021d01162a99b538b52 Mon Sep 17 00:00:00 2001 From: Nicolas A Perez Date: Sat, 30 Mar 2019 22:06:01 -0400 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c64127b..bf2e5be 100644 --- a/README.md +++ b/README.md @@ -16,25 +16,25 @@ brew install https://raw.githubusercontent.com/anicolaspp/maprdb-cleaner/master/ - Deletes document with `_id` equals to `-1016518206699135554`. ```bash -maprdbcls -t /user/mapr/tables/rnd --all false -q '{"$where": {"$eq": {"_id": "-1016518206699135554"}}}' +maprdbcls -t /user/mapr/tables/rnd -q '{"$where": {"$eq": {"_id": "-1016518206699135554"}}}' ``` - Deletes all documents. ```bash -maprdbcls -t /user/mapr/tables/rnd --all true +maprdbcls -t /user/mapr/tables/rnd --all ``` - Deletes all documents using id `custom_id_field`. ```bash -maprdbcls -t /user/mapr/tables/rnd --all true --id custom_id_field +maprdbcls -t /user/mapr/tables/rnd --all --id custom_id_field ``` - Delete first 20 users which `age` is less than `10`. ```bash -maprdbcls -t /user/mapr/tables/users -all false --query '{"$where": {"$lt": {"age": 10}}, "$limit": 20}' +maprdbcls -t /user/mapr/tables/users --query '{"$where": {"$lt": {"age": 10}}, "$limit": 20}' ``` `maprdbcls` executes `maprdbcls-1.0.0.jar` passsing the class path `/opt/mapr/lib/*`, so `MapR` client should