File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,25 @@ brew install https://raw.githubusercontent.com/anicolaspp/maprdb-cleaner/master/
16
16
- Deletes document with ` _id ` equals to ` -1016518206699135554 ` .
17
17
18
18
``` 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"}}}'
20
20
```
21
21
22
22
- Deletes all documents.
23
23
24
24
``` bash
25
- maprdbcls -t /user/mapr/tables/rnd --all true
25
+ maprdbcls -t /user/mapr/tables/rnd --all
26
26
```
27
27
28
28
- Deletes all documents using id ` custom_id_field ` .
29
29
30
30
``` 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
32
32
```
33
33
34
34
- Delete first 20 users which ` age ` is less than ` 10 ` .
35
35
36
36
``` 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}'
38
38
```
39
39
40
40
` maprdbcls ` executes ` maprdbcls-1.0.0.jar ` passsing the class path ` /opt/mapr/lib/* ` , so ` MapR ` client should
You can’t perform that action at this time.
0 commit comments