Details
-
Bug
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
TP Sprint 14, TP Sprint 15
Description
In a couple of places I see reference to "include_docs=true" as "include_doc" , it is missing the 's'
The resulting usage will not yield the expected result of including the docs on the query result.
Reference : http://www.couchbase.com/docs//couchbase-manual-2.0/couchbase-views-expiration.html
{"total_rows":7302,"rows":[
{"id":"21st_amendment_brewery_cafe","key":["21st_amendment_brewery_cafe"],"value":null},
{"id":"21st_amendment_brewery_cafe-21a_ipa","key":["21st_amendment_brewery_cafe","21st_amendment_brewery_cafe-21a_ipa"],"value":null},
Whereas the correct usage and expected result for this query should be
{"total_rows":7302,"rows":[
{"id":"21st_amendment_brewery_cafe","key":["21st_amendment_brewery_cafe"],"value":null,"doc":{"meta":
,"json":{"name":"21st Amendment Brewery Cafe","city":"San Francisco","state":"California","code":"94107","country":"United States","phone":"1-415-369-0900","website":"http://www.21st-amendment.com/","type":"brewery","updated":"2010-10-24 13:54:07","description":"The 21st Amendment Brewery offers a variety of award winning house made brews and American grilled cuisine in a comfortable loft like setting. Join us before and after Giants baseball games in our outdoor beer garden. A great location for functions and parties in our semi-private Brewers Loft. See you soon at the 21A!","address":["563 Second Street"],"geo":{"accuracy":"ROOFTOP","lat":37.7825,"lon":-122.393}}}},
{"id":"21st_amendment_brewery_cafe-21a_ipa","key":["21st_amendment_brewery_cafe","21st_amendment_brewery_cafe-21a_ipa"],"value":null,"doc":{"meta":
,"json":{"name":"21A IPA","abv":7.2,"ibu":0.0,"srm":0.0,"upc":0,"type":"beer","brewery_id":"21st_amendment_brewery_cafe","updated":"2010-07-22 20:00:20","description":"Deep golden color. Citrus and piney hop aromas. Assertive malt backbone supporting the overwhelming bitterness. Dry hopped in the fermenter with four types of hops giving an explosive hop aroma. Many refer to this IPA as Nectar of the Gods. Judge for yourself. Now Available in Cans!","style":"American-Style India Pale Ale","category":"North American
Attachments
Issue Links
- relates to
-
DOC-15 CB: Views include_docs parameter is deprecated for 3.0
- Closed