[PYCBC-7] An interface to access Couchbase Views is needed Created: 22/Aug/11 Updated: 11/May/13 |
|
| Status: | Reopened |
| Project: | Couchbase Python Client Library |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.8.0 |
| Security Level: | Public |
| Type: | New Feature | Priority: | Critical |
| Reporter: | Matt Ingenthron | Assignee: | Mark Nunberg |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Flagged: |
Release Note
|
| Description |
|
Need an interface to be able to access Couchbase Views. Even without the ability to create and delete views, accessing view results is important, as views can be created through the Web UI interface.
The specific implementation should be specific to, and familiar to the surrounding language and library, but it should have some general capabilities: - List views from a given cluster - Instantiate an Object that represents a view on a given cluster - Assemble query parameters for a View - Retrieve non-reduced results from a View * Be able to get the underlying document from the non-reduced results (this request should flow over binprot) - Retrieve reduced results from a View (the format is the same, but there is no associated docid) |
| Comments |
| Comment by Farshid Ghods [ 29/Sep/11 ] |
|
looking at the readme files now seems like some view functionalities are already implemented : # save a design document # right now with no _rev, we can only create, we can't update try: doc_id = newbucket.save(design) except: doc_id = "_design/testing" rows = newbucket.view("_design/testing/_view/all") for row in rows: print row Keith, can you please go through this checklist and let us know which features need to be worked on ? |
| Comment by Benjamin Young [ 06/Apr/12 ] |
|
Keith, can you get us an update on the status of this issue? Much thanks! |
| Comment by Benjamin Young [ 17/May/12 ] |
| Think you're leading this charge. :) Thanks! |
| Comment by Matt Ingenthron [ 24/Aug/12 ] |
| @benjamin is completing this in 0.8 |
| Comment by Benjamin Young [ 30/Aug/12 ] |
|
The one remaining piece--"include docs over binary protocol" is stalled due to get_multi() However, the API can still handle include_docs over HTTP, so I'm closing this one, and adding another one for include docs over binary protocol. |
| Comment by Benjamin Young [ 30/Aug/12 ] |
|
http://www.couchbase.com/issues/browse/PYCBC-63
Binary protocol improvements related to this API & include_docs |