Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
(Move to ...)
Event registration app with QR/Paypal
Home
▼
Friday, February 20, 2015
How to count event number in one stream?
fromStream("streamName")
.when({
$init: function() {
return { count: 0 }
},
$any : function(s,e) { return s + 1;}
})
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment