You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2009/06/18 23:00:09 UTC
[jira] Created: (COUCHDB-388) throw an error if the view query
range can contain no rows
throw an error if the view query range can contain no rows
----------------------------------------------------------
Key: COUCHDB-388
URL: https://issues.apache.org/jira/browse/COUCHDB-388
Project: CouchDB
Issue Type: Improvement
Affects Versions: 0.9
Reporter: Chris Anderson
Priority: Minor
Fix For: 0.11
users get confused because when applying descending=true as a previously working query will return 0 rows. this is correct behavior but we could make things a lot easier for people if we'd raise an error in cases where its impossible for there to be keys between the start and end.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (COUCHDB-388) throw an error if the view query
range can contain no rows
Posted by Zachary Zolton <za...@gmail.com>.
Gotta say, I had to spend a fair amount more time yesterday explaining
to my co-worker about the view parameters because of just this
problem.
On Thu, Jun 18, 2009 at 4:00 PM, Chris Anderson (JIRA)<ji...@apache.org> wrote:
> throw an error if the view query range can contain no rows
> ----------------------------------------------------------
>
> Key: COUCHDB-388
> URL: https://issues.apache.org/jira/browse/COUCHDB-388
> Project: CouchDB
> Issue Type: Improvement
> Affects Versions: 0.9
> Reporter: Chris Anderson
> Priority: Minor
> Fix For: 0.11
>
>
> users get confused because when applying descending=true as a previously working query will return 0 rows. this is correct behavior but we could make things a lot easier for people if we'd raise an error in cases where its impossible for there to be keys between the start and end.
>
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
[jira] Closed: (COUCHDB-388) throw an error if the view query range
can contain no rows
Posted by "Jan Lehnardt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Lehnardt closed COUCHDB-388.
--------------------------------
Resolution: Invalid
> throw an error if the view query range can contain no rows
> ----------------------------------------------------------
>
> Key: COUCHDB-388
> URL: https://issues.apache.org/jira/browse/COUCHDB-388
> Project: CouchDB
> Issue Type: Improvement
> Affects Versions: 0.9
> Reporter: Chris Anderson
> Priority: Minor
> Fix For: 0.11
>
>
> users get confused because when applying descending=true as a previously working query will return 0 rows. this is correct behavior but we could make things a lot easier for people if we'd raise an error in cases where its impossible for there to be keys between the start and end.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-388) throw an error if the view query
range can contain no rows
Posted by "Paul Joseph Davis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721501#action_12721501 ]
Paul Joseph Davis commented on COUCHDB-388:
-------------------------------------------
Just went to implement this and realized we'd be throwing an error when there are no rows returned by the view. Which is obviously great for letting beginners figure out reverse=true semantics, but it would throw an error just because a view doesn't return any results.
In other words, do we want to force people to do something like ?empty=ok in their views that might have zero rows returned because they're keys don't allow it? As in, maybe this is desirable in some situations?
> throw an error if the view query range can contain no rows
> ----------------------------------------------------------
>
> Key: COUCHDB-388
> URL: https://issues.apache.org/jira/browse/COUCHDB-388
> Project: CouchDB
> Issue Type: Improvement
> Affects Versions: 0.9
> Reporter: Chris Anderson
> Priority: Minor
> Fix For: 0.11
>
>
> users get confused because when applying descending=true as a previously working query will return 0 rows. this is correct behavior but we could make things a lot easier for people if we'd raise an error in cases where its impossible for there to be keys between the start and end.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.