var vwrestaurantes = database.GetView ("restaurantes");
vwrestaurantes.SetMap ((document, emitter) => {
if ((document ["blativo"].ToString () == "1") && (document ["tipo"].ToString () == "E")) {
emitter (document["nome"], document ["nome"]);
}
}, "1");
var qry = vwrestaurantes.CreateQuery ();
var lines = qry.Run ();
On Jan 20, 2015, at 12:19 PM, Julio Albuquerque <jcezar.al...@gmail.com> wrote:In emiiter I need to put more values in the emitter parameters (key, value).
How to do it?