commit | a8413bce72fb03f9a56d251fcb2c9198953d4bbf | [log] [tgz] |
---|---|---|
author | Tony Sun <tony.sun427@gmail.com> | Tue Apr 21 14:44:23 2020 -0700 |
committer | GitHub <noreply@github.com> | Tue Apr 21 14:44:23 2020 -0700 |
tree | 52e7197cb59f51769ad5783c3a8d9bf35a9803e1 | |
parent | 5748ef39ff18325369ce2c81121933c115fb0c0e [diff] |
fix operator issue with empty arrays (#2805) Previously, in https://github.com/apache/couchdb/pull/1783, the logic was wrong in relation to how certain operators interacted with empty arrays. We modify this logic to make it such that: {"foo":"bar", "bar":{"$in":[]}} and {"foo":"bar", "bar":{"$all":[]}} should return 0 results.