Skip to content

Commit

Permalink
Merge pull request #63 from jg-rp/filter-object-data
Browse files Browse the repository at this point in the history
Add test for filtering object data
  • Loading branch information
gregsdennis authored Mar 4, 2024
2 parents c6261e1 + 4092011 commit 1ae0e61
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/filter.json
Original file line number Diff line number Diff line change
Expand Up @@ -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]
]
}
]
}

0 comments on commit 1ae0e61

Please sign in to comment.