You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Garren Smith (JIRA)" <ji...@apache.org> on 2016/05/10 14:34:13 UTC
[jira] [Created] (COUCHDB-3013) Empty selector and empty $and
selector not returning same results
Garren Smith created COUCHDB-3013:
-------------------------------------
Summary: Empty selector and empty $and selector not returning same results
Key: COUCHDB-3013
URL: https://issues.apache.org/jira/browse/COUCHDB-3013
Project: CouchDB
Issue Type: Bug
Components: Mango
Reporter: Garren Smith
If I do `selector: {}` I get all the docs returned.
But if I do `selector: {$and: [{}, {}]}` I get 0 docs returned.
I think these queries are the same and should return all docs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)