A datasouce returns this data: [{"i":27,"p":10,"o":"Yes"},{"i":29,"p":0,"o":"No"},{"i":30,"p":10,"o":"Yes"},{"i":31,"p":10,"o":"Yes"},{"i":32,"p":10,"o":"Yes"},{"i":33,"p":10,"o":"Yes"},{"i":35,"p":10,"o":"Yes"},{"i":37,"p":0,"o":"No"},{"i":38,"p":0,"o":"No"}...
http://jsbin.com/tosito/2/edit?js,console,output
I'd like to query and aggregate data in various ways on the client: like "where i = 33 group by o sum p".
Is this possible using datasource methods only?
Or should I be using another framework like underscore.js?
/Morten
http://jsbin.com/tosito/2/edit?js,console,output
I'd like to query and aggregate data in various ways on the client: like "where i = 33 group by o sum p".
Is this possible using datasource methods only?
Or should I be using another framework like underscore.js?
/Morten