Closed skaggmannen closed 2 months ago
Thanks for submitting a PR! I see one small improvement that needs to be made, but I'll do that in a follow-up PR, as I have the relevant code already elsewhere in the repo. I'll just move it into place, then cut a new release.
This PR fixes the evaluation of
$exists: false
by makingfieldNode.Match()
always pass the value to the condition, even if it is not found in the map.It also makes it possible to do subfield lookups using dot notation (e.g.
foo.bar.baz
) as mentioned in the CouchDB documentation.This PR fixes https://github.com/go-kivik/kivik/issues/1043.