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
Copy file name to clipboardExpand all lines: docs/filtering.rst
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,22 @@ You can also use boolean combination of operations:
119
119
GET /user?filter=[{"name":"group.name","op":"ilike","val":"%admin%"},{"or":[{"not":{"name":"first_name","op":"eq","val":"John"}},{"and":[{"name":"first_name","op":"like","val":"%Jim%"},{"name":"date_create","op":"gt","val":"1990-01-01"}]}]}] HTTP/1.1
120
120
Accept: application/vnd.api+json
121
121
122
+
123
+
Filtering records by a field that is null
124
+
125
+
.. sourcecode:: http
126
+
127
+
GET /user?filter=[{"name":"name","op":"is_","val":null}] HTTP/1.1
128
+
Accept: application/vnd.api+json
129
+
130
+
Filtering records by a field that is not null
131
+
132
+
.. sourcecode:: http
133
+
134
+
GET /user?filter=[{"name":"name","op":"isnot","val":null}] HTTP/1.1
0 commit comments