source: Dev/trunk/src/client/dojox/data/JsonQueryRestStore.js @ 532

Last change on this file since 532 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 667 bytes
Line 
1define([
2        "dojo/_base/declare",
3        "dojox/data/JsonRestStore", "dojox/data/util/JsonQuery", "dojox/data/ClientFilter",
4        "dojox/json/query"
5], function(declare, JsonRestStore, JsonQuery) {
6
7// summary:
8//              this is an extension of JsonRestStore to convert object attribute queries to
9//              JSONQuery/JSONPath syntax to be sent to the server. This also enables
10//              SONQuery/JSONPath queries to be performed locally if dojox.data.ClientFilter
11//              has been loaded
12
13return declare("dojox.data.JsonQueryRestStore",[JsonRestStore, JsonQuery],{
14        matchesQuery: function(item,request){
15                return item.__id && (item.__id.indexOf("#") == -1) && this.inherited(arguments);
16        }
17});
18
19
20});
Note: See TracBrowser for help on using the repository browser.