Skip to content

Commit fb4ed36

Browse files
authored
Update README.md
1 parent 794cc4e commit fb4ed36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ brew install https://raw.githubusercontent.com/anicolaspp/maprdb-cleaner/master/
1616
- Deletes document with `_id` equals to `-1016518206699135554`.
1717

1818
```bash
19-
maprdbcls -t /user/mapr/tables/rnd --all false -q '{"$where": {"$eq": {"_id": "-1016518206699135554"}}}'
19+
maprdbcls -t /user/mapr/tables/rnd -q '{"$where": {"$eq": {"_id": "-1016518206699135554"}}}'
2020
```
2121

2222
- Deletes all documents.
2323

2424
```bash
25-
maprdbcls -t /user/mapr/tables/rnd --all true
25+
maprdbcls -t /user/mapr/tables/rnd --all
2626
```
2727

2828
- Deletes all documents using id `custom_id_field`.
2929

3030
```bash
31-
maprdbcls -t /user/mapr/tables/rnd --all true --id custom_id_field
31+
maprdbcls -t /user/mapr/tables/rnd --all --id custom_id_field
3232
```
3333

3434
- Delete first 20 users which `age` is less than `10`.
3535

3636
```bash
37-
maprdbcls -t /user/mapr/tables/users -all false --query '{"$where": {"$lt": {"age": 10}}, "$limit": 20}'
37+
maprdbcls -t /user/mapr/tables/users --query '{"$where": {"$lt": {"age": 10}}, "$limit": 20}'
3838
```
3939

4040
`maprdbcls` executes `maprdbcls-1.0.0.jar` passsing the class path `/opt/mapr/lib/*`, so `MapR` client should

0 commit comments

Comments
 (0)