2
votes

OData supports Any and All, which helped me a lot in my previous project. Now I use JayData to avoid writing OData query strings, but haven't found results by searching for any() and all(). Is there any existing functionality or plans to implement it?

I checked Breeze.js, but the result is the same.

2

2 Answers

2
votes

Standard JavaScript array.some() and array.every() functions are compiled to OData Any and All operations, so the API follows the JavaScript terminology, to hide the differences between different data sources.

Detailed blogpost - Using some() and every() with JayData OData provider

The provider capability matrix show that these operations are supported only by OData provider.

3
votes

Updated post: 11/25/13

As of Breeze 1.4.6, 'any' and 'all' operators are now supported.

See: http://www.breezejs.com/documentation/query-examples

Older post

For Breeze, we should have support for both any() and all() within the next two months for both our WebApi and OData providers.