odata - When will Breeze support ANY filtering (where predicate on children relationship)? -


we have need select records based on value of related child table's properties. discovered today feature supported in odata keyword called 'any'. further it's supported in default breeze server implemention (using entity framework). using same server breeze client does, can enter odata query in browser using 'any' keyword , select records on related child's field value. example:

.../issue?$filter=oissueimages/any(ii: ii/issueimageref eq 4) 

and works! but, there no support in breezejs client code.

fwiw: found breeze feature request: https://breezejs.uservoice.com/forums/173093-breeze-feature-suggestions/suggestions/3988038-adding-any-and-all-filter-operators

anyone know when breeze implement feature?

updated post: 11/25/13

as of breeze 1.4.6, 'any' , 'all' operators supported.

so client side breeze query like:

var query = entityquery.from("issue")   .where("oissueimages", "any", "issueimageref", "==", 4); myentitymanager.executequery(query).then(...) 

also see: http://www.breezejs.com/documentation/query-examples

older post

please vote up. feature, try accommodate features votes.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -