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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -