javascript - Empty Couchbase View when using Blob or Buffer -


i have 1 of these basic views:

function (doc, meta) {   var size = buffer.bytelength(doc.string, 'utf8');   emit(size, null); }  function (doc, meta) {   var blob = new blob([doc.string]).size;;   emit(blob.size, null); } 

even when not emitting content of buffer or blob view return nothing.

so view won't work either:

function (doc, meta) {   var blob = new blob([doc.string]).size;;   emit(doc.string, null); } 


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -