You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say we know the date of a blog post. To find a single document, we would use /blog/_design/docs/_view/by_date?key="2009/01/30 18:04:11" to get the “Biking” blog post. Remember that you can place whatever you like in the key parameter to the emit() function.
Again, just following along. I can't make it work to get just one document. Here's my successful request to get all docs:
I'll leave this issue open in case it needs documenting.
oodavid
changed the title
Finding Your Data with Views > Find One > Example code fails
Finding Your Data with Views > Find One > Might need to explain encoding for CURL
Mar 27, 2016
http://guide.couchdb.org/draft/views.html#one
Again, just following along. I can't make it work to get just one document. Here's my successful request to get all docs:
And here's me failing to grab a single doc by key:
Not sure if this is an issue with the documentation, or if I'm just being an idiot...
The text was updated successfully, but these errors were encountered: