Closed atanasbozhkov closed 9 years ago
should be
http http://localhost:8080/test/Passport?filter="{'user: {$oid': '553a25f1bc2e8b53c7000001'}}"
Yeah - your quotes are a bit wrong but I can confirm that
http http://localhost:8080/test/Passport?filter={'user': {'$oid': '553a25f1bc2e8b53c7000001'}}
works perfectly. Thanks a lot.
I am using the latest version of restheart with mongodb 3.0.3. I am trying to get a record by filtering on a nested id. (Similar to Issue#10 )
I have the following document in my Passport collection:
I am trying to get the record by filtering on the user.id field. So when I tried to get it - I try the following request (as shown in the previous issue):
But it returns an empty set? I've also tried setting the &detect_oids parameter to different values, but to no avail. Any idea what might be causing this?