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
#97 introduced the decodeDocuments helper function, and adds comments that elude to the fact that when querying documents from CouchDB, you must set the include_docs parameter to true for Couch to include the documents themselves in the response. However, the existing queryByView function does not document this requirement, and so it could be confusing that something like this does not work:
The solution in this case is to add usingParameters: [.includeDocs(true)]. I feel this use-case should be discussed in the documentation for the queryByView function.
The text was updated successfully, but these errors were encountered:
#97 introduced the
decodeDocuments
helper function, and adds comments that elude to the fact that when querying documents from CouchDB, you must set theinclude_docs
parameter totrue
for Couch to include the documents themselves in the response. However, the existingqueryByView
function does not document this requirement, and so it could be confusing that something like this does not work:The solution in this case is to add
usingParameters: [.includeDocs(true)]
. I feel this use-case should be discussed in the documentation for the queryByView function.The text was updated successfully, but these errors were encountered: