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 "=="
112
+
113
+
```ne``` propname is not equals to value. Equivalent to "!="
94
114
95
-
==
115
+
```gt``` propname is greater than value. Equivalent to ">"
96
116
97
-
\>
117
+
```lt``` propname is less than value. Equivalent to "<"
98
118
99
-
<
119
+
```gte``` propname is greater than or equal to value. Equivalent to ">="
120
+
121
+
```lte``` propname is less than or equal to value. Equivalent to "<="
122
+
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