Hi.
I'm using Xamarin Studio, Xamarin Android and CouchbaseLite .Net.
How do I use more than one key in creating views and issue more than one
value?
Within this platform I use C # .Net.
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 ();
In emiiter I need to put more values in the emitter parameters (key, value).
How to do it?
I've tried: emitter ([key1, key2], [value1, value2]) but does not work.
Can anyone help?
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/9dc5b499-3223-4272-839b-6d97925170d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.