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
Post a Comment