diff --git a/tests/filter.json b/tests/filter.json index 519bf21..3bf14e1 100644 --- a/tests/filter.json +++ b/tests/filter.json @@ -786,6 +786,19 @@ {"c": "d"}, {"a": null} ] + }, + { + "name": "object data", + "selector" : "$[?@<3]", + "document" : { + "a": 1, + "b": 2, + "c": 3 + }, + "results": [ + [1, 2], + [2, 1] + ] } ] }