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
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    AdminAdminAdmin (Admin, Breeze.js) shared this idea  ·   ·  Admin →
    completed  ·  AdminAdminAdmin (Admin, 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
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base