You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
```eq``` propname equals value. Equivalent to "=="
111
+
```eq```propname equals value. Equivalent to "=="
112
112
113
-
```gt``` propname is greater than value. Equivalent to ">"
113
+
```ne```propname is not equals to value. Equivalent to "!="
114
114
115
-
```lt``` propname is less than value. Equivalent to "<"
115
+
```gt```propname is greater than value. Equivalent to ">"
116
116
117
-
```gte``` propname is greater than or equal to value. Equivalent to ">="
117
+
```lt```propname is less than value. Equivalent to "<"
118
118
119
-
```lte``` propname is less than or equal to value. Equivalent to "<="
119
+
```gte```propname is greater than or equal to value. Equivalent to ">="
120
120
121
-
```mod```Perform a modulus calculation on propname using value. Equivalent to "%"
121
+
```lte``` propname is less than or equal to value. Equivalent to "<="
122
122
123
-
```all``` Fetch all records for field propname. Equivalent to "*"
123
+
```mod``` Perform a modulus calculation on propname using value. Equivalent to "%"
124
+
125
+
```range``` Perform a range query, comparing propname to min and max.
126
+
127
+
```all``` Fetch all records for field propname. Equivalent to "*"
128
+
129
+
#### Modulus Query
130
+
131
+
When using a modulus query, you must supply the divisor and the remainder. For example, to obtain all likes which are multiples of 100, you would specify a divisor 100 and a remainder 0:
132
+
133
+
```shell
134
+
curl -X GET http://localhost:3000/db/docstore/query -H "Content-Type:application/json" --data '{"propname":"likes", "comp":"mod", "values":[100,0]}'
0 commit comments