[dojo-contributors] Dojo.data + filter of nest structures

Kenneth G. Franqueiro kgf at dojotoolkit.org
Tue Mar 8 23:37:51 EST 2011


Yes, dojo.store is 1.6, and dojo.store.Memory can accept a function as 
the query argument (it also supports a map a la IFRS, and also a map 
where the values are RegExps to compare item values against).

But I would hardly expect all store implementations to be able to 
support function queries (particularly ones that expect the server side 
to handle filtering/etc e.g. JsonRest), so what is a generic consumer 
(e.g. grid) supposed to assume is supported?  The dojo.store docs aren't 
specific whatsoever about the expected format/type of the query argument.

The dojo.store docs also mention a getChildren method, but it doesn't 
seem to have filtering in mind at all.

--Ken

On 3/8/2011 9:45 PM, Karl Tiedt wrote:
> That is the 1.6 version right?
>
>
>
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors


More information about the dojo-contributors mailing list