couchdb-golang
couchdb-golang copied to clipboard
func (*Database) View(...) doesn't execute, only returns empty ViewResults
GoDoc states "View executes a predefined design document view and returns the results." but when I took a look at the source, it only returns an empty ViewResult because of function newViewResults(). It never calls ViewResults:fetch() to get the view which I noticed is done in the methods associated with ViewResults.
Either documentation or implementation is incorrect and documentation should be updated to reflect the correct behaviour.