I have a table that looks like this:
[
{ "name": "Alpha", "values": {
"someProperty": 1
}},
{ "name": "Beta", "values": {
"someProperty": 2
}},
{ "name": "Gamma", "values": {
"someProperty": 3
}}
]
I want to select all records where someProperty
is not in some array of values (e.g., all records where someProperty
not in [1, 2]
). I want to get back complete records, not just the values of someProperty
.
How should I do this with RethinkDB?