Couchbase View empty, N1QL returns results -


i using travel-sample provided editor perform tests.

when map (below) using doc.type=="landmark" or doc.type=="route", results, when user "airline" type, no results view. rather puzzling.

function (doc, meta) { if (doc.type && doc.type=="airline") {     emit(doc.id, doc.type);   } } 

i can't quite figure out why returns empty view. although following equivalent n1ql query returns results :

select id `travel-sample`  type = "airline" limit 10 


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -