论坛首页 Web前端技术论坛

how to implement 'OR' query in the data store fetch

浏览 2498 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2007-10-17  
The fetch method query syntax for ItemFileReadStore allows a list of attributes to match against in an "AND" fashion.
For example, a query object that looks like the following example will locate all items that have attributes of those names that match both of those

{ foo:"bar", bit:"bite"}

My question is:If I want to query the value of bit are "bite" or "byte",How do I implement the query syntax in Dojo.
   发表时间:2008-04-18  
做两次查询,然后将返回的items合并撒  呵呵 
0 请登录后投票
论坛首页 Web前端技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics