var item = _.find(myArray, function(item) {{
return item.Id == args.Id;
}});
_.forEach(myArray, function(item) {{
item.Name = args.Name;
item.City = args.City;
item.Mascot = args.Mascot;
}});
this.MyArray.RemoveWhere(function(item) {{
return item.Id == args.Id;
}});
var myArray = this.AllItems.Where(function(item) {{
return item.Id == args.Id;
}});
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.