How can we improve Breeze.js?

Support for query parameters

Something like

var query = new EntityQuery()
.from("CustomersStartingWith");
query.parameters.add("A");

10 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
AdminAdmin (Product Manager, Breeze.js) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
completed  ·  AdminAdmin (Product Manager, Breeze.js) responded  · 

Build 0.76.2 adds a new EntityQuery method: withParameters.

This method allows custom parameters to be passed to any server side method, in addition to those that Breeze uses for its normal querying. Custom parameters can be mixed in with other query clauses.

For example:

var query = EntityQuery.from(“EmployeesFilteredByCountryAndBirthdate”) .withParameters({ BirthDate: “1/1/1960”, Country: “USA” }) .where(“LastName”, “startsWith”, “S”) .orderBy(“BirthDate”);

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base